Doodleverse / segmentation_zoo

A collection of geoscientific image segmentation models
MIT License
8 stars 3 forks source link

Downloading Models does not work on Windows #17

Closed 2320sharon closed 1 year ago

2320sharon commented 1 year ago

When I attempt to download on windows the model's name does not separate from the URL. This is due to url.sep being used to split the URL instead of forward slash /.

 outfile = model_direc + os.sep + a['links']['self'].split(os.sep)[-1]