Closed JuhaKiili closed 2 years ago
Wildcards were broken for local paths. List of local paths used to be broken, too.
This code:
valohai.prepare(step="train", default_inputs={"myinput": "*.png"})
Would try to download the local file path and throw an error. This PR fixes it.
Also lists as default for local inputs:
valohai.prepare(step="train", default_inputs={"myinput": ["1.png", "2.png"]})
Were fixed in the big refactor earlier, but this PR adds a test for it.
Fixes #76 Fixes #65
Wildcards were broken for local paths. List of local paths used to be broken, too.
This code:
Would try to download the local file path and throw an error. This PR fixes it.
Also lists as default for local inputs:
Were fixed in the big refactor earlier, but this PR adds a test for it.
Fixes #76 Fixes #65