Closed aqsc closed 1 year ago
这个环境下,源码可以跑嘛?
百度网盘有一个打包好的exe,可以下载那个试一下,不过打包的版本比较靠前。 如果你想打包最新版本的软件,也可以把里面的依赖项拿来用。
你问题1那个,的确是复制一个包就可以了,但具体是哪个忘记了T.T 问题2的话,除了环境依赖问题,其他就是一些配置文件和模型了,那个我都是直接复制的
main.py可以直接跑
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: yatengLG @.> Sent: Tuesday, October 10, 2023 5:49:49 PM To: yatengLG/ISAT_with_segment_anything @.> Cc: Sicheng Qian @.>; Author @.> Subject: Re: [yatengLG/ISAT_with_segment_anything] 打包exe问题 (Issue #80)
百度网盘有一个打包好的exe,可以下载那个试一下,不过打包的版本比较靠前。 如果你想打包最新版本的软件,也可以把里面的依赖项拿来用。
你问题1那个,的确是复制一个包就可以了,但具体是哪个忘记了T.T 问题2的话,除了环境依赖问题,其他就是一些配置文件和模型了,那个我都是直接复制的
― Reply to this email directly, view it on GitHubhttps://github.com/yatengLG/ISAT_with_segment_anything/issues/80#issuecomment-1754846222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFZONI7EFVY7U7X74MUTTWTX6UK33AVCNFSM6AAAAAA52BIW72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUHA2DMMRSGI. You are receiving this because you authored the thread.Message ID: @.***>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module File "timm\layers\activations_jit.py", line 19, in <module> File "torch\jit\_script.py", line 1340, in script ast = get_jit_def(obj, obj.__name__) File "torch\jit\frontend.py", line 262, in get_jit_def parsed_def = parse_def(fn) if not isinstance(fn, _ParsedDef) else fn File "torch\_sources.py", line 122, in parse_def sourcelines, file_lineno, filename = get_source_lines_and_file( File "torch\_sources.py", line 32, in get_source_lines_and_file raise OSError(msg) from e OSError: Can't get source for <function swish_jit at 0x000002981F9FFCA0>. TorchScript requires source access in order to carry out compilation, make sure original .py files are available.