Closed njsymanz closed 6 months ago
Hi~
The train_txt_path
is a path of a txt file for training, which contains paths of training data.
Taking the Chessboard Corner Detection model as an example, this txt file gets `n' lines and each line is f"{chessboard_img_path, e.g. ../../../xxx.jpg} {heatmap_path e.g. ../../xxx.npy}"
.
I hope this description will be helpful.
Hi~ The
train_txt_path
is a path of a txt file for training, which contains paths of training data. Taking the Chessboard Corner Detection model as an example, this txt file getsn' lines and each line is
f"{chessboard_img_path, e.g. ../../../xxx.jpg} {heatmap_path e.g. ../../xxx.npy}"`. I hope this description will be helpful.
Can you send a txt file example?
Examples as follows.
/home/sd/CCS/train/chessboard_img_folder/0001.jpg /home/sd/CCS/train/heatmap_folder/0001.npy
/home/sd/CCS/train/chessboard_img_folder/0002.jpg /home/sd/CCS/train/heatmap_folder/0002.npy
...
In the two training scripts, there is an empty string train_txt_path that is required but lacks an explanation. The best I could find was the description under the ChessboardDetectDataset class saying
txt saved as: img_path heatmap_path
. If there is a sample text file I missed, that would be helpful as well.