Closed thiagomaf closed 1 year ago
Thanks for bringing this to my attention and providing details!
The problem was that I was using glob to search for file paths and certain characters (such as [) have a special meaning when using glob. To allow arbitrary file names that may include these special characters I have altered the code to use glob.escape
The relevent changes are included in the following commits: https://github.com/Abe404/root_painter/commit/d2f881418890b41dbac02791c26082ecc724d026 https://github.com/Abe404/root_painter/commit/13e53e32f5832dd8175787bdf3b39099dd1dc07a
This should have now resolved the problem you were experiencing. Can you pull the latest code for the server again (cloning also does this) and let me know if everything is working OK with your files now?
Kind regards, Abraham
Complex input image filenames will crash the server when training.
Filenames such as
EXP-006_20230131_20_2[96dpi]_{x}_{y}.jpg
will crash the server immediately after starting to train network. Same image set renamed toA_{x}_{y}.jpg
will run and train fine.To Reproduce Created a training dataset with filename patter "EXP-006_20230131_202[96dpi]{x}_{y}.jpg".
I have followed the Colab tutorial here without any changes - https://colab.research.google.com/drive/104narYAvTBt-X4QEDrBSOZm_DRaAKHtA?usp=sharing
Got the following error: