Skip to content

list indices must be integers or slices, not str #3

@huutuan1705

Description

@huutuan1705

Hello,

I see your code in the internet, and this is so interesting. I cloned it and used for my project. I try changing batch_size from 1 to 4 and backbone from vgg16 to resnet101. But I have a problem. You can see this image to know about my error:

image

I think the cause of this issue is that I changed the batch_size, which led to changes in the list of boxes. I try to fix this problem for three days, but not success. I really need your help. Can you help me fix that. Here is my code:

https://colab.research.google.com/drive/1YpICgRMK7wiIFn85dt753j18NIY3JgfH?usp=sharing

Thank you so much!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions