You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have a problem with reproducibility of the predictions on inference. Below I attached the code I use to make predictions on samples from the file you provided: sample.npz.
I made one more function in addition to yours train and test for inference:
Finally I found one parameter and replaced net.set_feed(im_in, lay_gt, label_gt, i)
with net.set_feed(im_in, lay_gt, label_gt, i, is_training=False)
Now results are stable from run to run, but the quality of predictions is very low. So I think that there is still a problem with network. Is there something I do wrong with your code? Maybe I need to add some preprocessing steps before feeding images into net, or something like this? Do you have any idea?
BTW: can you please provide sample names from the images that are shown on the repo page (in Readme.md)? It would be nice to have those both for vanilla and rcnn architectures.
Thanks
hi @alex-kravets , can you please tell me how to run inference for single own image. i am not able to understand from readme file. need to run on images. there are 'sample.npz' and *.mat files. can we create from our own data.
Hi!
I have a problem with reproducibility of the predictions on inference. Below I attached the code I use to make predictions on samples from the file you provided:
sample.npz
.I made one more function in addition to yours
train
andtest
for inference:and one more change in
main
:Then I noticed that after each time I run inference i get different results. For example, couple of predictions for image with index 11 in
sample.npz
:P.S. I used the following command to run the inference:
python main.py --inference 0 --net vanilla --out_path pretrained_model --gpu 1
.So, the question is how to make results on inference reproducible?
The text was updated successfully, but these errors were encountered: