question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--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:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
louie-githubcommented, Feb 7, 2022

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.

0reactions
adefossezcommented, Feb 14, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found