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

error #6

Open
learn-chang opened this issue Oct 30, 2021 · 2 comments
Open

error #6

learn-chang opened this issue Oct 30, 2021 · 2 comments

Comments

@learn-chang
Copy link

Hello, thank you very much for opening the code.
I met a problem in the process of using it. I ran train. Py directly and reported an error:
File "C:\Users\cc\Desktop\DL-based-Intelligent-Diagnosis-Benchmark-master\utils\train_utils.py", line 67, in setup
self.model = getattr(models, args.model_name)(in_channel=Dataset.inputchannel, out_channel=Dataset.num_classes)
TypeError: 'module' object is not callable

@ZhaoZhibin
Copy link
Owner

We should change the model_name (we have not designed Inception2d). Thus, I help you change 'Inception2d' to 'cnn_2d'.

@jjaay123
Copy link

I am also getting the same error ,i couldnot get how to solve.I am new in this field ,so thanks in advance .File "D:\DL-based-Intelligent-Diagnosis-Benchmark-master\utils\train_utils.py", line 63, in setup
self.model = getattr(models, args.model_name)(in_channel=Dataset.inputchannel, out_channel=Dataset.num_classes)

TypeError: 'module' object is not callable

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

3 participants