ssd_kerasV2 icon indicating copy to clipboard operation
ssd_kerasV2 copied to clipboard

training process is slow

Open E12dward opened this issue 5 years ago • 12 comments

i think class Generator runs on cpu ,maybe this is why the training process is so slow . is there any solution ? how many time is taken within one epoch on your computer ? thanks

E12dward avatar May 01 '19 06:05 E12dward

Is threre any ways to run generator on GPUs? I also think generator has to have maybe more workers to speed up generation

https://keras.io/ja/models/sequential/#fit_generator

similar issue

#16

tanakataiki avatar May 04 '19 13:05 tanakataiki

hi , when using the pretrained weights file (ssdmobilenetv2) shared in google drive , the train-loss value has been reduced while the val-loss value is almost constant . after testing it on VOC2007 , i found the mAP value is only 53. Have you encountered this problem ? what should been done about training strategy?

E12dward avatar May 04 '19 13:05 E12dward

Is it the same as my repo? I havent tested map but can you share or PR Map tester and weights? I might find something if possible.

tanakataiki avatar May 04 '19 14:05 tanakataiki

https://drive.google.com/file/d/1zts95H6A4-lrRD0HAvLH2oNHA8CgU6m1/view?usp=sharing

E12dward avatar May 04 '19 14:05 E12dward

https://github.com/Adamdad/Object-Detection-Metrics

E12dward avatar May 04 '19 14:05 E12dward

i would be glad to receive your answer , thx!

E12dward avatar May 04 '19 14:05 E12dward

the code is almost the same as your repo , maybe there is something diffierent in SSD_training.ipnb . Perhaps you can find something wrong by running the training code.

E12dward avatar May 04 '19 14:05 E12dward

Thanks I cant immidiately find something good but I will someday. I assume the difference would be weight multiplier for each layer or initialization details that keras would not support + implementation details which is very deep, by the way Pull request with details is always welcome !

tanakataiki avatar May 04 '19 15:05 tanakataiki

@E12dward Oh... Is your drive file broken ? i couldnt unzip rar file. and maybe ipython and weight is enough to share

tanakataiki avatar May 04 '19 16:05 tanakataiki

https://drive.google.com/drive/folders/1c4XUoHl1q9PPxCCG94m4A7sjI2H8XnJo?usp=sharing

E12dward avatar May 04 '19 16:05 E12dward

@tanakataiki i am sorry , the link above should be useful .

E12dward avatar May 04 '19 16:05 E12dward

any way to speed up the training?

lchunleo avatar Jul 01 '20 15:07 lchunleo