loading
 
Local folders for shape match training allowed?
Thomas Wagner from Germany  [51 posts]
9 year
STeven,

is it possible to assigna a local subfolder to a shap match training sample set, such as a subdirectory "train" in the folder where the script is located?

The UI seems to only accept absolute paths, which makes protability of programms harder.

Thanks,

Thomas
Steven Gentner from United States  [1446 posts] 9 year
Thomas,

If you save a robofile in the same tree as the training folder it will adapt all the paths that it references to be relative to where the robofile was saved. You can validate this by looking at the robofile using a text editor and note that paths like base_folder (the shape match folder attribute) start with a .\ meaning its relative to the robofile. This allows you to save a robofile in a location where everything can be zipped and sent as a package that can be executed without any changes.

When things are reloaded, RR will expand those relative paths to absolute ones to avoid any confusion. But again, when saved, they revert back to relative to the save location.

STeven.
Thomas Wagner from Germany  [51 posts] 9 year
STeven,

thanks for the explanation. Having that bit of information stick somewhere in the documentation might be useful also for other users.

If it fits nnowhere, one might think of a tips and tricks page, in addition to the existing FAQ.

Thomas

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index