Skip to content

how to create custom dataloader for with labels of varying length? #539

@nisnab

Description

@nisnab

My image labels are in .csv format and it has labels in varying order.
Screenshot_2019-06-20 transferl(1)

i have created custom dataset. My labels are in separate csv files and they have varying length.
I have tried making customdataset and then dataloader.
I want to do transfer learning with Resnet. Can anyonehelp, I am a beginner to both pytorch and deep learning.
Screenshot_2019-06-20 transferl(2)

Screenshot_2019-06-21 transferl(4)

Screenshot_2019-06-21 transferl(2)
Upto this step, Everything is fine, However, when i create dataloader,
it shows problem. Can anyone help? i am a beginner.
Screenshot_2019-06-21 transferl(3)
Screenshot_2019-06-21 transferl(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions