13 lines
293 B
Python
13 lines
293 B
Python
|
|
|
|
|
|
def relabel(datasetpath):
|
|
mappingpathwithindataset = "/baseimages/unaugmentednames/mapping.txt"
|
|
mappingfilepath = datasetpath+mappingpathwithindataset
|
|
mappingfile = open(mappingfilepath, 'r')
|
|
maptext = mappingfile.read()
|
|
mappingfile.close()
|
|
print(maptext)
|
|
|
|
|