ZFTurbo / MVSEP-MDX23-music-separation-model

Model for MDX23 music separation contest
658 stars 91 forks source link

UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. #6

Open mr-segfault opened 1 year ago

mr-segfault commented 1 year ago

Hello, using this with a dual GPU setup and I receive this warning on both GPU and CPU mode - is this a possible source for a speed increase?

/home/user/MVSEP-MDX23-music-separation-model/inference.py:128: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at ../torch/csrc/utils/tensor_new.cpp:245.)

ZFTurbo commented 1 year ago

No, it's almost not affect performance.

dr-benway commented 1 year ago

"inference.py" just add > import warnings warnings.filterwarnings("ignore")