Skip to content

> Hello, I now want to use resnest to train my own image data set. What I do is image classification, but how to convert my image file into data.csv, because the data processing in the README is a bit unclear, I hope to get Thank you for your reply! #6

Open

Description

@zhaoleo1111

Hello, I now want to use resnest to train my own image data set. What I do is image classification, but how to convert my image file into data.csv, because the data processing in the README is a bit unclear, I hope to get Thank you for your reply!

Just convert your data to this format:https://github.com/MachineLP/PyTorch_image_classifier/blob/master/data/data.csv.
"filepath": The path of the image.
"target": The label of the image.
"fold": Not needed.

Originally posted by @MachineLP in #5 (comment)

Activity

  1. zhaoleo1111 commented on Dec 1, 2020

    @zhaoleo1111
    Author

    what the fold mean?

  2. qiaofengsheng commented on Jan 27, 2022

    @qiaofengsheng

    Hello, I now want to use resnest to train my own image data set. What I do is image classification, but how to convert my image file into data.csv, because the data processing in the README is a bit unclear, I hope to get Thank you for your reply!

    Just convert your data to this format:https://github.com/MachineLP/PyTorch_image_classifier/blob/master/data/data.csv. "filepath": The path of the image. "target": The label of the image. "fold": Not needed.

    Originally posted by @MachineLP in #5 (comment)

    哥们你现在解决了么?我还是有点迷茫,为什么要使用交叉验证的方式处理数据集,而且他那个处理数据集的代码为啥只写了val_index,train_index没了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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