Closed SangwonSUH closed 2 years ago
Hi,
ResNetSE34V2
RawNet3
configs/RawNet3.yaml
RawNet3_AAM.yaml
loadParameters
Traceback (most recent call last): File "./voxceleb_trainer/./trainSpeakerNet.py", line 276, in <module> main() File "./voxceleb_trainer/./trainSpeakerNet.py", line 272, in main main_worker(0, None, args) File "./voxceleb_trainer/./trainSpeakerNet.py", line 165, in main_worker trainer.loadParameters(args.initial_model) File "./voxceleb_trainer/SpeakerNet.py", line 248, in loadParameters loaded_state = torch.load(path, map_location="cuda:%d" % self.gpu) File "/home/miniconda3/envs/torch/lib/python3.9/site-packages/torch/serialization.py", line 608, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/home/miniconda3/envs/torch/lib/python3.9/site-packages/torch/serialization.py", line 777, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.
I've tried the trainSpeakerNet.py script with followings
trainSpeakerNet.py
python 3.9.9 h543edf9_0_cpython conda-forge pytorch 1.10.1 py3.9_cuda11.3_cudnn8.2.0_0 pytorch torchaudio 0.10.1 py39_cu113 pytorch
CUDA_VISIBLE_DEVICES=0 python ./trainSpeakerNet.py --eval --config ./configs/RawNet3_AAM.yaml --initial_model RawNet3/model.pt
Thanks for your efforts in maintaining this repository.
Sorry, it was git-lfs issue Pull RawNet3/model.pt with following cmd
RawNet3/model.pt
# ./voceleb_trainer/RawNet3 git lfs pull
Hi,
ResNetSE34V2
, butRawNet3
has some issuesIssues
configs/RawNet3.yaml
RawNet3_AAM.yaml
instead?loadParameters
Tests
I've tried the
trainSpeakerNet.py
script with followingsThanks for your efforts in maintaining this repository.