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

How should I test the trained model? #1

Open
QiaoJinming opened this issue Apr 10, 2021 · 6 comments
Open

How should I test the trained model? #1

QiaoJinming opened this issue Apr 10, 2021 · 6 comments

Comments

@QiaoJinming
Copy link

I have successfully trained the model, but I don't know how to test the model,may i catch modified code,thank you very much

@zhijiejia
Copy link
Owner

Here is the test on the test dataset
image

@QiaoJinming
Copy link
Author

Here is the test on the test dataset
image

Thank you very much for your reply, IoU is satisfactory, but when I use two images (refer and test) to predict the mask (label), I get very bad results. According to your code, I use it like this "output"

res = output.squeeze(0).cpu().numpy() plt.imshow(res)

Got this result

Cache_-7ad9432f28205081

The result is very frustrating, but the code you designed is very effective. I suspect that the method I used is wrong, so I want to ask you to get a copy of the execution code for generating the label from the refer and test images. If you interrupt, please understand.

Thanks again for your work

@QiaoJinming
Copy link
Author

Here is the test on the test dataset
image

Supplement the reply just now

Hyperparameters have not been modified
hardware
nvidia RTX 2080
software
torch==1.7.0
PIL==8.0.1
python==3.7

Thank you

@QiaoJinming
Copy link
Author

Hello, I have replied to your answer, but I have not received a new notification. Do you have time to reply? The network architecture of this project is very influential. I sincerely look forward to your reply.

@zhijiejia
Copy link
Owner

All my code is here, and the effect of this network itself is not very good. I'm going to test the code again later。

@sssimpleboy
Copy link

sssimpleboy commented Oct 8, 2024

I have successfully trained the model, but I don't know how to test the model,may i catch modified code,thank you very much我已经成功训练了模型,但我不知道如何测试模型,我可以捕获修改后的代码,非常感谢

您好 请问您知道如何测试模型了吗? 我的ouput 是 2,224,224 我不知道怎么转化成 224,224 的黑白图 哈哈哈哈

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