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

Runtime error during training #2

Open
GiYeolKim opened this issue May 11, 2024 · 5 comments
Open

Runtime error during training #2

GiYeolKim opened this issue May 11, 2024 · 5 comments

Comments

@GiYeolKim
Copy link

Hi, I am facing some error while running your codes.

KakaoTalk_20240511_154310278

Could you give some help?

@mustansarfiaz
Copy link
Owner

Hi,

seems like you modified the resnet.py file. I suggest, first running the code without modifying anything. The error is at line #66, but the github repo is returning out at line #66.
Moreover, Im using identity at line 63, however you are using identity[0]. Please check this.

Regards

@GiYeolKim
Copy link
Author

Thank you for your response.
I took this screenshot while trying to fix the error, and running your original code without any modifications also results in the same error.

When I run the code without any modifications, I encounter an error that says
"forward() takes 3 positional arguments but 4 were given."
Can you check this?
image

The code does run if I don't pass is_intermite as an argument in line 64 of resnet.py, but is that where the problem is?

@GiYeolKim
Copy link
Author

Additionally, I have another question.
It seems that NVIDIA Apex is not being installed properly.
Could you help me with how to install Apex when running the model?

@zengyingzhu1
Copy link

另外,我还有一个问题。 NVIDIA Apex 似乎没有正确安装。 您能帮我了解如何在运行模型时安装 Apex 吗?
can u tell me?where is epoch_10.pth?

@mustansarfiaz
Copy link
Owner

@GiYeolKim

Unfortunately, I don't remember exactly. However, I asked my co-lead author. He knows better and can help you but currently, he is busy this week.

It seems like that APEX is not installed correctly. Could you confirm it and try to install it via
https://github.com/NVIDIA/apex
Regards
Mustansar

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