faroit / faroit/stempeg

'Input tensor dimension should be 3d' error when decoding Engine DJ stems

Đang mở
#51 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
107
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Denons Engine DJ recently got support for stem separation. The file the desktop software produces seems to be in STEMS format but there's something different in the format. The output of the `stem2files` utility with the file I attached (for demo I took a short snippet of a CC-BY-NC licensed track by "Timbre" which can be found [here](https://freesound.org/s/770565/)) is the following:

```
$ stem2files ./22\ e9f9eb56-b8cb-4669-a5a9-ac4235ae1983.stems
Traceback (most recent call last):
File "/Users/noir/projects/ng/./stems/bin/stem2files", line 8, in
sys.exit(cli())
^^^^^
File "/Users/noir/projects/ng/stempeg/stempeg/cli.py", line 69, in cli
stem2files(
File "/Users/noir/projects/ng/stempeg/stempeg/cli.py", line 110, in stem2files
write_stems(
File "/Users/noir/projects/ng/stempeg/stempeg/write.py", line 776, in write_stems
raise RuntimeError(f"Input tensor dimension should be 3d")
RuntimeError: Input tensor dimension should be 3d
```
I'm on MacOS 14.7.1 with ffmpeg 7.1.

The .stems file:
[22 e9f9eb56-b8cb-4669-a5a9-ac4235ae1983.stems.zip](https://github.com/user-attachments/files/18053639/22.e9f9eb56-b8cb-4669-a5a9-ac4235ae1983.stems.zip)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.