13 lines
540 B
Batchfile
13 lines
540 B
Batchfile
@echo off
|
|
echo === Testing 3D-Speaker Import ===
|
|
python -c "import sys; print('sys.path:', sys.path[:3])"
|
|
echo.
|
|
echo === Step 1: Import ===
|
|
python -c "import sys; sys.path.insert(0, '..\\3D-Speaker'); from speakerlab.bin.infer_diarization import Diarization3Dspeaker; print('Import OK')"
|
|
echo.
|
|
echo === Step 2: Init Model ===
|
|
python -c "import sys; sys.path.insert(0, '..\\3D-Speaker'); from speakerlab.bin.infer_diarization import Diarization3Dspeaker; m=Diarization3Dspeaker(device='cpu'); print('Init OK')"
|
|
echo.
|
|
echo === Done ===
|
|
pause
|