PyTorch_image_classifier
PyTorch_image_classifier copied to clipboard
> 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!
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 https://github.com/MachineLP/PyTorch_image_classifier/issues/5#issuecomment-725309449
what the fold mean?
what the fold mean?
https://github.com/MachineLP/PyTorch_image_classifier/blob/master/tools/data_preprocess.py
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没了?