Make the .pth file portable
In order to have a fully useful predict command, the .pth file, where weights of trained network along with config file are stored, should be reusable anywhere.
Currently, it fails with a 1677 lines long message error (solving #16 (closed) would help) when calling with the --debug
flag.
It fails because model_root
does not exist. As explained in Merge request !24 (merged), we need to remove non-portable information, such as path, or tell the predict command to not care about this information.