Closed tuji-sjp closed 5 years ago
It should be straightforward to use VGG16. I included a vgg16.py
file, which you can train. Alternatively, you can use Keras's pretrained model: https://keras.io/applications/#vgg16
You'll also need to wrap the code in a class like what you see in lenet.py
, for example. You can copy the existing functions like color_preprocess
.
Then it should be as simple as including it in the list of models. Let me know if you have any difficulty.
Are you still working on this?
Are you still working on this?
Oh, yes. I'm so sorry. Running statistics result is a bit slow. And how do I use the GPU to accelerate this process?
You should have CUDA, CuDNN, and tensorflow-gpu
installed on your system. Then the library should automatically detect and use your GPU if it is available. To detect if the library is using GPU, see #9.
Alternatively, you can use Google Colab to run the notebook on a free GPU cloud instance.
You should have CUDA, CuDNN, and
tensorflow-gpu
installed on your system. Then the library should automatically detect and use your GPU if it is available. To detect if the library is using GPU, see #9.Alternatively, you can use Google Colab to run the notebook on a free GPU cloud instance.
Yes, I did. But sometimes it takes about a day, with 500 samples.
Yes, that is very slow, shouldn't take longer than an hour. If your system is using a GPU, then that probably means you have a bottleneck somewhere. Have you tried running other code with Keras, like one of their tutorials with GPU?
Yes, that is very slow, shouldn't take longer than an hour. If your system is using a GPU, then that probably means you have a bottleneck somewhere. Have you tried running other code with Keras, like one of their tutorials with GPU?
Ok, I will continue to study the work. And I want to get a statistical success rate of 500 samples on ImageNet.
Hello, could you please tell me about how to use? Thank you!