ImageAI icon indicating copy to clipboard operation
ImageAI copied to clipboard

Training custom object detection model stuck

Open schko opened this issue 7 years ago • 3 comments

Ran on Colab and locally, stuck on: Epoch 1/200

Any suggestions? Tried tf nightly download (incompatibility with Keras), and older tensorflow versions.

schko avatar Aug 01 '19 03:08 schko

Depending on the size of your dataset, an epoch can take between 15 mins to an hour. Also, did you change the Tensorflow-GPU on your runtime to 1.13.1? It was advised in the comments and documentation I provided.

I suggest you install Tensorflow GPU 1.13.1 and restart your run time before initiating training.

pip3 install tensorflow-gpu==1.13.1

OlafenwaMoses avatar Aug 01 '19 08:08 OlafenwaMoses

Thanks, this works now!

schko avatar Aug 05 '19 18:08 schko

I can't upgrade to 1.13, need to use 1.12 for compatibility with cuda/cudnn configuration.

Is there any other change you can suggest? it's taking ages with 1845 samples...

rola93 avatar Aug 09 '19 19:08 rola93