Closed gasparramoa closed 4 years ago
Thanks for your quick reply.
Model loading takes a lot of time, which should not be included. Besides, the running time of the first image is longer than the others. You'd better measure the speed among several images.
I asked this because I am building a portable system for visually impaired people that uses semantic segmentation algorithms to navigate indoor spaces. It must be real-time as you can see and that's why I am using only one image/frame.
I follow your suggestion and I was always loading the model and the checkpoint before each prediction. Now the time of each prediction, without the load of the model is more or less 0.4 seconds which is great!
Thanks for helping me.
Hello! First of all, thanks for your work.
I have created a new dataset with the same structure as the ADE20k dataset, I trained the model with 2 classes, test it and it works very well. The problem is that it takes more or less 4/5 seconds to predict/test one image using the test.py script.
This is only happening with me or it is normal to take "this" long time to predict one image? (My computer: RAM:16Gb, 256Gb SDD, GeForce GTX 1080ti, AMD Ryzen 7 2700)
Thanks in advance. Gaspar Ramôa