Engagement-Recognition icon indicating copy to clipboard operation
Engagement-Recognition copied to clipboard

How to run predict on Windows ?

Open m3m3-chan opened this issue 5 years ago • 3 comments

Hello, Thanks for sharing this interesting project! I want to use the model for prediction without doing any training can I do that? Also, I can see in the requirements there's tensorflow & py2 but I couldn't find tensorflow for py2 on windows so I was wondering if it is possible to run this code on Windows with python 3 instead? I have run it so far & I don't face any issues except for missing model issue #3

Thanks,

m3m3-chan avatar Jul 22 '19 12:07 m3m3-chan

Hello.

Thanks for your interest. Yes, you can use the model for prediction w/o training. To do so, you need to feed your samples to the model and generate their predictions. This will also solve #3.

Cheers, Omid

omidmnezami avatar Jul 29 '19 12:07 omidmnezami

Thanks for the response. I actually tried to create a .npy file from 1 test image but wasn't sure where to place it in the code, cause the code requires dataset for validation and testing. I tried adding it to testing data set but it didn't work, as it was still asking for training data set. I can see there's predict() but I could not use it too. Would you mind to give more guidance please?

thanks,

m3m3-chan avatar Jul 31 '19 09:07 m3m3-chan

Thanks for the response. I actually tried to create a .npy file from 1 test image but wasn't sure where to place it in the code, cause the code requires dataset for validation and testing. I tried adding it to testing data set but it didn't work, as it was still asking for training data set. I can see there's predict() but I could not use it too. Would you mind to give more guidance please?

thanks,

I'm sorry to bother you for the request of The Data Set. could you offer me about it?My email is [email protected]

wxy80114527 avatar Dec 23 '19 08:12 wxy80114527