mtewes / tenbilac

Neural network for inverse regression problems
1 stars 2 forks source link

Auto-find config file #48

Closed mtewes closed 7 years ago

mtewes commented 7 years ago

Instead of piontint Tenbilac to a config-file, you can point it to a directory, and it will list all .cfg files and use the last one (in alphabetical order) to read.

mtewes commented 7 years ago

Also, write a config file with correctly set workdir into the "minimized" directories. So that one can point at those, and it simply works.

mtewes commented 7 years ago

Regarding the previous comment

write a config file with correctly set workdir into the "minimized" directories

This is done differently: the config file written into the minimized directory is not modified from what is written into the workdir, BUT one can now ALSO pass a directory instead of a config file to Tenbilac, and in this case this directory is used as workdir, NO MATTER what the config file says. This makes it fool-proof to move an automatically created minimized workdir to a different machine (for example) and then just point to this workdir to make predictions. Still need to modify the megalut wrapper for this to work, but on the tenbilac side this is now done in the new pull request.

mtewes commented 7 years ago

Done and merged, closing issue