Commit c79be86
authored
Fixing ONNX error
Updating path variable to a string to avoid the following error
```Error during ONNX export: Function torch.onnx.utils.export() parameter f="PosixPath('htdemucs.onnx')" violates type hint typing.Union[str, _io.BytesIO], as <protocol "pathlib.PosixPath"> "PosixPath('htdemucs.onnx')" not str or <class "_io.BytesIO">.```1 parent 83a2217 commit c79be86
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments