ByteDance-Seed / ByteDance-Seed/Depth-Anything-3

Exporting to Executable

Open
#197 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.3k
Forks
702
PR merge metrics
No merged PRs in 30d

Description

I would like the ability to run Depth Anything 3 as a frozen executable built using pyinstaller. Currently it seems the only thing blocking me from doing that is the dynamic imports of the models using the create_object method in cfg.py, this implementation makes it impossible for pyinstaller to freeze dependencies such as dinov2, depthanythingnet, and dpt to name a few. Even using the flag for hidden-import and collect-submodules did not make a difference, I still received unable to find module errors when running the resulting executable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.