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

运行失败 #2

Open
xiaobai12413 opened this issue Sep 9, 2024 · 0 comments
Open

运行失败 #2

xiaobai12413 opened this issue Sep 9, 2024 · 0 comments

Comments

@xiaobai12413
Copy link

Traceback (most recent call last):
File "C:\Users\ASUS\Desktop\WFEN-main\test.py", line 11, in
opt = TestOptions().parse() # get test options
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Desktop\WFEN-main\options\base_options.py", line 124, in parse
opt = self.gather_options()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Desktop\WFEN-main\options\base_options.py", line 79, in gather_options
model_option_setter = models.get_option_setter(model_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Desktop\WFEN-main\models_init_.py", line 50, in get_option_setter
model_class = find_model_using_name(model_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Desktop\WFEN-main\models_init_.py", line 33, in find_model_using_name
modellib = importlib.import_module(model_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'models.test_model'

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