Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

used inference.py in docker have error #4

Open
javad71 opened this issue Jul 19, 2022 · 0 comments
Open

used inference.py in docker have error #4

javad71 opened this issue Jul 19, 2022 · 0 comments

Comments

@javad71
Copy link

javad71 commented Jul 19, 2022

hi lucasxlu
Thank you very much for posting the code on GitHub
I used your code in Docker but I got an error while loading the model
Can you guide me on this
The error text is as follows

Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.7/site-packages/django/apps/config.py", line 244, in create
web_1 | app_module = import_module(app_name)
web_1 | File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
web_1 | return _bootstrap._gcd_import(name[level:], package, level)
web_1 | File "", line 1006, in _gcd_import
web_1 | File "", line 983, in _find_and_load
web_1 | File "", line 953, in _find_and_load_unlocked
web_1 | File "", line 219, in _call_with_frames_removed
web_1 | File "", line 1006, in _gcd_import
web_1 | File "", line 983, in _find_and_load
web_1 | File "", line 965, in _find_and_load_unlocked
web_1 | ModuleNotFoundError: No module named 'classification_branch'
web_1 |
web_1 | During handling of the above exception, another exception occurred:
web_1 |
web_1 | Traceback (most recent call last):
web_1 | File "manage.py", line 22, in
web_1 | main()
web_1 | File "manage.py", line 18, in main
web_1 | execute_from_command_line(sys.argv)
web_1 | File "/usr/local/lib/python3.7/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
web_1 | utility.execute()
web_1 | File "/usr/local/lib/python3.7/site-packages/django/core/management/init.py", line 395, in execute
web_1 | django.setup()
web_1 | File "/usr/local/lib/python3.7/site-packages/django/init.py", line 24, in setup
web_1 | apps.populate(settings.INSTALLED_APPS)
web_1 | File "/usr/local/lib/python3.7/site-packages/django/apps/registry.py", line 91, in populate
web_1 | app_config = AppConfig.create(entry)
web_1 | File "/usr/local/lib/python3.7/site-packages/django/apps/config.py", line 250, in create
web_1 | app_config_class.qualname,
web_1 | django.core.exceptions.ImproperlyConfigured: Cannot import 'classification_branch.bias'. Check that 'process.apps.ProcessConfig.name' is correct.

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

No branches or pull requests

1 participant