Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separator failing with "Trying to set the stream twice. This isn't supported. " #900

Open
derwin12 opened this issue May 11, 2024 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@derwin12
Copy link

  • [x ] I didn't find a similar issue already open.
  • [x ] I read the documentation (README AND Wiki)
  • [ x] I have installed FFMpeg
  • [ x] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description

Anyone have a working Windows 10 version of spleeter - seems dependencies have changed and I cant find a working combination.
Tried python 3.6-3.10
Tried 2stems, 4stems, 5stems
Tensorflow - various versions up to 2.10 - even to the latest.
Windows 10. Using Nvida GPU but disabled or not using in the code.
Tried the SpleeterGUI .zip as well .same error "Trying to set the stream twice. This isn't supported."
Tried minimal requirements.txt, tried supplied requirements.txt
Tried other similar packages using their requirements.txt. . like TubeSplitter. Same errors.
Anyone provide a working requirements.txt file?
(from what I can tell this repo isnt really supported anymore but hoping others can chime in)

WARNING:tensorflow:From C:\Users\daryl\.virtualenvs\Spleeter\lib\site-packages\spleeter\separator.py:146: calling DatasetV2.from_generator (from tensorflow.python.data.ops.dataset_ops) with output_types is deprecated and will be removed in a future version.
Instructions for updating:
Use output_signature instead
WARNING:tensorflow:From C:\Users\daryl\.virtualenvs\Spleeter\lib\site-packages\spleeter\separator.py:146: calling DatasetV2.from_generator (from tensorflow.python.data.ops.dataset_ops) with output_shapes is deprecated and will be removed in a future version.
Instructions for updating:
Use output_signature instead
WARNING:tensorflow:From C:\Users\daryl\.virtualenvs\Spleeter\lib\site-packages\keras\layers\normalization\batch_normalization.py:514: _colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2024-05-11 16:38:30.243361: F tensorflow/core/common_runtime/gpu/gpu_cudamallocasync_allocator.cc:390] Trying to set the stream twice. This isn't supported.

Code clip from AnNOTEator github.

        waveform, _ = audio_adapter.load(
            path,
            offset=drum_start if drum_start is not None else None,
            duration=drum_end-drum_start if drum_end is not None else None,
            sample_rate=sample_rate
            )
        
        prediction = separator.separate(waveform)
@derwin12 derwin12 added bug Something isn't working invalid This doesn't seem right labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant