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

Testing the Model on New Images. How can i add my own images to the trained model and comprare the accuracy. #10

Open
HaRiZ0s opened this issue Aug 6, 2022 · 14 comments

Comments

@HaRiZ0s
Copy link

HaRiZ0s commented Aug 6, 2022

Dear @avishkarsaha ,

First of all, thanks for the excellent work and sharing the code!

It was easy to set up the environment and train the model.

I am interested in testing the model on new images and check/compare the results. How can i add my own images to the trained model? Any kind of information about the dimensions and type of the images used for the model will be useful.

Thank you!

John

@wang-TJ-20
Copy link

@HaRiZ0s ,hello, can you share your train weights? I want to train the model, but my machine performance does not support it

@HaRiZ0s
Copy link
Author

HaRiZ0s commented Aug 11, 2022

@HaRiZ0s ,hello, can you share your train weights? I want to train the model, but my machine performance does not support it

output.txt
train_ious.txt
train_loss.txt
val_ious.txt
val_loss.txt

@wang-TJ-20
Copy link

@wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around.

@HaRiZ0s
Copy link
Author

HaRiZ0s commented Aug 20, 2022

@wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around.

@wang-TJ-20 hello, yes you are right the val_loss hasnt decreased. I havent paid attention to the "experiment results". I am still trying to figure out how i can add my own images and make the visualization code work which @WilliamLucifer proposed in the other issue. I have my email attached in my github profile. If you want you can contact me so that we can help each other.

@wang-TJ-20
Copy link

wang-TJ-20 commented Aug 22, 2022 via email

@HaRiZ0s
Copy link
Author

HaRiZ0s commented Aug 23, 2022

@wang-TJ-20

Can copy your test.py and share it as a .txt ? Maybe .py files in comment section dont work. You can also copy-paste your code such as the did in #4 visualization issue.

@wang-TJ-20
Copy link

@HaRiZ0s
test.txt

@danfouer
Copy link

@wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around.

@wang-TJ-20 hello, yes you are right the val_loss hasnt decreased. I havent paid attention to the "experiment results". I am still trying to figure out how i can add my own images and make the visualization code work which @WilliamLucifer proposed in the other issue. I have my email attached in my github profile. If you want you can contact me so that we can help each other.

I have the same Problem , the val_loss has not decreased

==> Validating on 15 minibatches

D:\ProgramData\Anaconda3\envs\TIIM\lib\site-packages\torch\utils\checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")

@danfouer
Copy link

inference_token104
@wang-TJ-20 this is my result by your test.py, is that right?

@zacmilan
Copy link

inference_token104 @wang-TJ-20 this is my result by your test.py, is that right?

This result looks bad..

@handsomeZhuang
Copy link

? Maybe .py files in comment section dont work

I have this problem, and do you know what the workround is?
Thanks!

@handsomeZhuang
Copy link

@wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around.

@wang-TJ-20 hello, yes you are right the val_loss hasnt decreased. I havent paid attention to the "experiment results". I am still trying to figure out how i can add my own images and make the visualization code work which @WilliamLucifer proposed in the other issue. I have my email attached in my github profile. If you want you can contact me so that we can help each other.

I have the same Problem , the val_loss has not decreased

==> Validating on 15 minibatches

D:\ProgramData\Anaconda3\envs\TIIM\lib\site-packages\torch\utils\checkpoint.py:31: UserWarning: None of the inputs have requires_grad=True. Gradients will be None warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
hi, have you solved this problem?

@handsomeZhuang
Copy link

this is my test.py

------------------ 原始邮件 ------------------ 发件人: "avishkarsaha/translating-images-into-maps" @.>; 发送时间: 2022年8月21日(星期天) 凌晨2:34 @.>; 抄送: " @.@.>; 主题: Re: [avishkarsaha/translating-images-into-maps] Testing the Model on New Images. How can i add my own images to the trained model and comprare the accuracy. (Issue #10) @wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around. @wang-TJ-20 hello, yes you are right the val_loss hasnt decreased. I havent paid attention to the "experiment results". I am still trying to figure out how i can add my own images and make the visualization code work which @WilliamLucifer proposed in the other issue. I have my email attached in my github profile. If you want you can contact me so that we can help each other. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

hi,friend,
how to get the "lmdb" and "split" directory using for trained and test process?
thanks!

@handsomeZhuang
Copy link

@wang-TJ-20 hello, I have seen your val_loss.txt,. I find the val_loss has not decreased. keep it 35 around.

@wang-TJ-20 hello, yes you are right the val_loss hasnt decreased. I havent paid attention to the "experiment results". I am still trying to figure out how i can add my own images and make the visualization code work which @WilliamLucifer proposed in the other issue. I have my email attached in my github profile. If you want you can contact me so that we can help each other.

I have the same problem! how to solve it?

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

5 participants