unsupervised_detection icon indicating copy to clipboard operation
unsupervised_detection copied to clipboard

Can't load davis best model

Open eppoj opened this issue 5 years ago • 6 comments

When trying to load the Davis model I get the following errors.

https://pastebin.com/sx80tfTD

eppoj avatar Nov 16 '20 11:11 eppoj

Please don't pass the full model file name. Example: File name: model.best.data-00000-of-00001 You should pass: model.best

kjaleph avatar Nov 16 '20 14:11 kjaleph

Thank you that was the problem (learned something). However now I'm running into memory issues (OOM when allocating tensor with shape). I'm trying to run the software on an nvidia jetson nano, any suggestions to reduce the memory load?

eppoj avatar Nov 17 '20 10:11 eppoj

you could try to make the model smaller and train it again!

antonilo avatar Nov 17 '20 22:11 antonilo

Thank you that was the problem (learned something). However now I'm running into memory issues (OOM when allocating tensor with shape). I'm trying to run the software on an nvidia jetson nano, any suggestions to reduce the memory load?

import tensorflow as tf
physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
config = tf.config.experimental.set_memory_growth(physical_devices[0], True)

Please execute the above code before loading any model.

karanjakhar avatar Nov 18 '20 03:11 karanjakhar

@karanjakhar where should I execute this code ?

eppoj avatar Nov 18 '20 09:11 eppoj

Before loading anything. Below import libraries. On Wed, Nov 18, 2020, 3:02 PM eppoj [email protected] wrote:

@karanjakhar https://github.com/karanjakhar where should I execute this code ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/antonilo/unsupervised_detection/issues/12#issuecomment-729554045, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRQJD6723RZW5KDKWL2EILSQOIDJANCNFSM4TXAOTKQ .

kjaleph avatar Nov 18 '20 10:11 kjaleph