Fixup trainers and detectors to use relative paths