From 6a20a0d5897ac1ff0efe4c8f62359567c318a864 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Thu, 1 Aug 2024 19:59:14 +0900 Subject: [PATCH] Install bpe_simple_vocab_16e6.txt.gz --- labelme.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/labelme.spec b/labelme.spec index 389e34d73..f58693b78 100644 --- a/labelme.spec +++ b/labelme.spec @@ -1,8 +1,11 @@ # -*- mode: python -*- # vim: ft=python +import os.path as osp import sys +import osam._models.yoloworld.clip + sys.setrecursionlimit(5000) # required on Windows @@ -15,6 +18,13 @@ a = Analysis( ('labelme/config/default_config.yaml', 'labelme/config'), ('labelme/icons/*', 'labelme/icons'), ('labelme/translate/*.qm', 'translate'), + ( + osp.join( + osp.dirname(osam._models.yoloworld.clip.__file__), + "bpe_simple_vocab_16e6.txt.gz", + ), + 'osam/_models/yoloworld/clip', + ), ], hiddenimports=[], hookspath=[],