Skip to content

Conversation

@athaiden
Copy link

@athaiden athaiden commented Jul 3, 2025

After pip install , from damo.config.base import parse_config gives following error: ModuleNotFoundError: No module named 'damo.base_models.core'. This is because missing init.py files results in those directories getting excluded during pip install.

Need to add init.py to the following directories:

  • damo/base_models/core
  • damo/base_models/losses
  • damo/base_models/backbones/nas_backbones
  • damo/detectors

@athaiden
Copy link
Author

athaiden commented Jul 3, 2025

Looks good. Tested locally 👍

@athaiden athaiden changed the title Athaiden patch 1 fix ModuleNotFoundError: No module named 'damo.base_models.core' Jul 3, 2025
Fix for FileNotFoundError: [Errno 2] No such file or directory: '/anaconda/envs/damo-docker/lib/python3.11/site-packages/damo/base_models/backbones/nas_backbones/tinynas_L45_kxkx.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant