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

model运行时候一直出现错误 #396

Open
udfsdf opened this issue Jan 2, 2024 · 6 comments
Open

model运行时候一直出现错误 #396

udfsdf opened this issue Jan 2, 2024 · 6 comments

Comments

@udfsdf
Copy link

udfsdf commented Jan 2, 2024

测试model的时候一直出现
image
微信图片_20240102213017

@udfsdf
Copy link
Author

udfsdf commented Jan 2, 2024

期待您的回复

@layumi
Copy link
Owner

layumi commented Jan 4, 2024

@udfsdf
可能是墙? 把 huggingface的模型卡了? 你试试ft_resnet先?

@udfsdf
Copy link
Author

udfsdf commented Jan 4, 2024

@udfsdf 可能是墙?把huggingface的模型卡了?你先尝试ft_resnet吗?

我尝试了修改,现在可以正常运行,但是输出结果是
image
然后我下一步应该怎么改train.py来开始训练呢

@udfsdf
Copy link
Author

udfsdf commented Jan 4, 2024

@udfsdf 可能是墙? 把 huggingface的模型卡了? 你试试ft_resnet先?

感谢您的回复

@layumi
Copy link
Owner

layumi commented Jan 4, 2024

你好 @udfsdf

你是怎么跑出nan的? 比如:你从头初始化了transformer没有用pretrain weight?
如果要跑最基本的resnet50 baseline, python train.py 即可。

更多一步步教程可以参考 https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial

@cby12372
Copy link

@udfsdf可能是墙?把huggingface的模型卡了?你先尝试ft_resnet吗?

我尝试修改了,现在可以正常运行,但是输出结果是 然后我下一步应该怎么改train.py来开始训练呢 图像

@udfsdf可能是墙?把huggingface的模型卡了?你先尝试ft_resnet吗?

我尝试修改了,现在可以正常运行了,但是输出结果是 然后我下一步应该怎么改train.py来开始训练呢 图像

How did you solve the wall problem

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