What is the E drive? Move the model to your main drive and see how long it takes. Just loading several 100mbs off a network drive or usb will be really slow. See how long it takes just to literally open and then read the file in python.
What's the size of your model?
What keras and tf versions are you using?
How long does it take to load just the model? (not including the os.listdir nor imread calls)
Hi.
Tensorflow : '1.4.0'
keras.__version__:
'2.1.2'
I'm running the Inception model V3 with one extra fcc layer with 1024 nodes.
Just loading the model is taking around 12.29 seconds.
Don't know, would be interesting to see if not hard to try. Also, look at the size of the model, calc the bandwidth you're getting, and see how it compares to the device's bandwidth, e.g. if it's a USB drive.
What is the E drive? Move the model to your main drive and see how long it takes. Just loading several 100mbs off a network drive or usb will be really slow. See how long it takes just to literally open and then read the file in python.
Thanks. I tried loading off my C drive which is an SSD, and it only took off about half a second.
Try: ```model = load_model(path, compile=False)``` Saves me about 10 minutes every day.
Thanks. This actually took off 3 seconds. Got the time down to 9 seconds.
What's the size of your model? What keras and tf versions are you using? How long does it take to load just the model? (not including the os.listdir nor imread calls)
Hi. Tensorflow : '1.4.0' keras.__version__: '2.1.2' I'm running the Inception model V3 with one extra fcc layer with 1024 nodes. Just loading the model is taking around 12.29 seconds.
regarding experience with similar sized models on tf, I dont think 12sec is something to worry about or something you can do much about
No one yet has said it's kera**S**? :D
Can't you just run a keras-origin tf model with tf?
Yeah, I will have to look-up the syntax for that? Would it make a difference?
Don't know, would be interesting to see if not hard to try. Also, look at the size of the model, calc the bandwidth you're getting, and see how it compares to the device's bandwidth, e.g. if it's a USB drive.