Máš to v docstringu té funkce. Jak tě napadlo dát jako repo celou cestu.
def ChangeToOtherMachine(filelist,repo='TrainYourOwnYOLO',remote_machine =''):
'''
Takes a list of file_names located in a repo and changes it to the local machines file names. File must be executed from withing the repository
Example:
'/home/ubuntu/TrainYourOwnYOLO/Data/Street_View_Images/vulnerable/test.jpg'
Get's converted to
'C:/Users/Anton/TrainYourOwnYOLO/Data/Street_View_Images/vulnerable/test.jpg'
'''
Takže v
data_train.txt (nebo jiném souboru určeném parametrem
--annotation_file), kerý se načte do
lines, budeš mít cesty a parametr
repo určuje repo.