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

parser.set_defaults(load_size=parser.get_default('crop_size')) #1

Open
yu-zj opened this issue Jun 1, 2023 · 3 comments
Open

parser.set_defaults(load_size=parser.get_default('crop_size')) #1

yu-zj opened this issue Jun 1, 2023 · 3 comments

Comments

@yu-zj
Copy link

yu-zj commented Jun 1, 2023

why parser.get_default('crop_size') equal none?

@ComingPeopleHW
Copy link
Collaborator

why parser.get_default('crop_size') equal none?

We believe that the parameter 'crop_size' actually will not affect the program. Please feel free to contact us if you have any other questions.

@yu-zj
Copy link
Author

yu-zj commented Dec 19, 2023

Why"ModuleNotFoundError: No module named 'models.test_model'"?

@yu-zj
Copy link
Author

yu-zj commented Jan 4, 2024

Why"ModuleNotFoundError: No module named 'models.test_model'"?
Traceback (most recent call last):
File "E:/facesuperresolution/1/MRRNet-main/test.py", line 12, in
opt = TestOptions().parse() # get test options
File "E:\facesuperresolution\1\MRRNet-main\options\base_options.py", line 127, in parse
opt = self.gather_options()
File "E:\facesuperresolution\1\MRRNet-main\options\base_options.py", line 82, in gather_options
model_option_setter = models.get_option_setter(model_name)
File "E:\facesuperresolution\1\MRRNet-main\models_init_.py", line 50, in get_option_setter
model_class = find_model_using_name(model_name)
File "E:\facesuperresolution\1\MRRNet-main\models_init_.py", line 33, in find_model_using_name
modellib = importlib.import_module(model_filename)
File "D:\Anaconda3\envs\test\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
test
File "", line 983, in _find_and_load
File "", line 965, 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

2 participants