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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zhaoleo1111 opened this issue Dec 1, 2020 · 3 comments

Comments

@zhaoleo1111
Copy link

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)

@zhaoleo1111
Copy link
Author

what the fold mean?

@MachineLP
Copy link
Owner

@qiaofengsheng
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants