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

run_test.py跑不通,出不来结果图 #94

Open
shangyuying opened this issue Feb 10, 2025 · 1 comment
Open

run_test.py跑不通,出不来结果图 #94

shangyuying opened this issue Feb 10, 2025 · 1 comment

Comments

@shangyuying
Copy link

接73楼的求助,运行run_test后等了好长时间通知出现了这个Namespace(backbone='vgg16_bn', gpu_id=0, line=2, output_dir='vis', row=2, weight_path='weights/SHTechA.pth')然后只是把原图修改了尺寸生成一个新的图,并没有点预测在上面,另外预测别的图,画点了,但是是乱画的,根本不在人头上面

@shangyuying
Copy link
Author

解决了!看了其他朋友的回答试了一下,问题就解决了!感谢!原来是torch的版本问题,不要按照readme上说的安装torch1.5.0,要安装自己的cuda支持的torch版本

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