MobileNetv2-SSD icon indicating copy to clipboard operation
MobileNetv2-SSD copied to clipboard

Keras symbolic inputs/outputs do not implement `__len__`.

Open rhea-19 opened this issue 2 years ago • 4 comments

Hi, I am getting an error while running the notebook you've uploaded. I've attached the image, kindly look into it. It would be of great help if you could help me rectify it. Thank you!

image

rhea-19 avatar Jul 19 '22 05:07 rhea-19

Hi @rhea-19 Can you please try with keras~=2.8.0? Also, the SSD model summary might not work, so you will have to comment that. Also, please add tf.compat.v1.disable_eager_execution() after the imports. It works on Google colab that way for me.

I will add these to the README and make the necessary changes to the notebook as well meanwhile

saunack avatar Jul 21 '22 09:07 saunack

Can you please check the updated code in master? commit 7f40ddfb

saunack avatar Jul 21 '22 11:07 saunack

Hi! Thank you for the reply, I'll check it out. Also, can I get help with training the model using a non-MNIST dataset?

On Thu, Jul 21, 2022, 16:36 Kumar Saunack @.***> wrote:

Can you please check the updated code in non_trainable branch?

— Reply to this email directly, view it on GitHub https://github.com/saunack/MobileNetv2-SSD/issues/3#issuecomment-1191351047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWGV7JSJVFBS7FIIO55SR6LVVEVMVANCNFSM536V7ECA . You are receiving this because you were mentioned.Message ID: @.***>

rhea-19 avatar Jul 22 '22 05:07 rhea-19

Hi there Kumar,

Thanks for your work, gotta respect it when people implement stuff from scratch. I am currently trying to load other data from disk to train. How do I proceed if I have my training images in a folder and the labels as a txt file with: "imgpath xcenter, ycenter, w, h, class" Or how to load common train datasets properly such as Pascal VOC/KITTI. Any help is appreciated.

VanqCoding avatar Nov 17 '22 16:11 VanqCoding