--float32 parameter no longer recognized in v3
See original GitHub issue🐛 Bug Report
--float32
used to work fine in earlier version, but v3 no longer accepts this flag.
To Reproduce
Add --float32
to command.
Expected behavior
A float wav file is saved.
Actual Behavior
The following error is raised:
usage: demucs.separate [-h] [-s SIG | -n NAME] [--repo REPO] [-v] [-o OUT] [-d DEVICE] [--shifts SHIFTS] [--overlap OVERLAP] [--no-split] [--mp3] [--mp3-bitrate MP3_BITRATE] tracks [tracks ...] demucs.separate: error: unrecognized arguments: --float32
Your Environment
- Python and PyTorch version: 3.7.8, 1.9.0+cu111
- Operating system and version (desktop or mobile): Win10
- Hardware (gpu or cpu, amount of RAM etc.): RTX3060
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Java - Parameter doesn't recognize a float number
Just do this : example.notenAdd(2.0f);. As simply sending value 2.0 is considered double type by default for floating point numbers.
Read more >Did you write "if type(a) == int or float" and it's not working ...
When I enter a word as a parameter I get an error, but if I enter an integer, float, or string it passes....
Read more >Parsing arguments and building values — Python 3.11.1 ...
An exception is raised if the named encoding is not known to Python. The second argument must be a char**; the value of...
Read more >float() in Python - GeeksforGeeks
Example 3: Converting an Integer to a Float in Python. Python3 ... float() will raise ValueError if passed parameter is not a numeric...
Read more >Warning Options (Using the GNU Compiler Collection (GCC))
On most targets this does not actually affect the parameter passing ABI, ... Give a warning when a value of type float is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also, this option is still mentioned in the README even if the latest version does not support it, and does not list it as a supported argument. I was personally a little confused by that.
I’ve added back the parameter with this commit https://github.com/facebookresearch/demucs/commit/4826b86a1e079d7c7d3c5c7e741911a5ff25c081
For now you will need to install Demucs from the repo (see instructions in the readme), until I release a new version on PyPi.