Tensorflow-Fast-MPNCOV
Tensorflow-Fast-MPNCOV copied to clipboard
Predict images
Hi @XuChunqiao ,
Thanks for sharing your amazing work. Could you help me by letting me know how to predict an image using the fine tuned model?
Regards
Sorry for the late reply. If you use single GPU, you can directly call function test_step(self, inputs) in main_multi_GPU.py LIne128, and the variable predictions is the score vector of each class.Then utilize function tf.argmax(predictions, dim=0) you can get the index of maximum