Closed fog88 closed 2 years ago
Hi! Thank you for the message and your interest in the library.
My guess is that, the auto downloading of the weights file does not work on a Windows machine because of some path issues. Please try downloading the weights file manually from here, and follow this example (you have to supply the weights_path
, see here). It should work. Thanks!
I going to solve the problem but I've got a question : where is the function load_weights ??? It's called but there is no write in file
The model
is a tf.keras.Model
object, it already has a load_weights
method, you may take a look at the official doc.
I've found what is wrong. Thank you for the method load_weight it is from tensorflow like predict() method. I understand now. My mistake is my CUDA CuDNN. I don't why but I'm sure because python is something wrong just there when it load CuDNN
Is it working now? :thinking:
Yeah It work ! I've changed path in _download.py and I reinstall CUDA. Good ! Thanks !
Hi, I don't understand what happened with opennsfw2 code. My installation is OK. I install Keras and Tensorflow 2.0 with CUDA but nothing, Any idea ? I attached a screenshot. Thank you to help me