-
Notifications
You must be signed in to change notification settings - Fork 262
Test.sh not working #138
Copy link
Copy link
Open
Description
Running the test.sh script inside the scripts directory yields the error
/home/rage/anaconda3/envs/audioldm/bin/audioldm:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').require('audioldm==0.1.1')
Load AudioLDM: %s audioldm-m-full
DiffusionWrapper has 415.95 M params.
/home/rage/anaconda3/envs/audioldm/lib/python3.8/site-packages/torch/nn/utils/weight_norm.py:134: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
tokenizer_config.json: 100%|█████████████████████████████| 25.0/25.0 [00:00<00:00, 2.49kB/s]
vocab.json: 100%|████████████████████████████████████████| 899k/899k [00:00<00:00, 1.51MB/s]
merges.txt: 100%|████████████████████████████████████████| 456k/456k [00:00<00:00, 1.13MB/s]
tokenizer.json: 100%|██████████████████████████████████| 1.36M/1.36M [00:00<00:00, 2.13MB/s]
config.json: 100%|███████████████████████████████████████████████████████████| 481/481 [00:00<00:00, 332kB/s]
/home/rage/anaconda3/envs/audioldm/lib/python3.8/site-packages/torch/functional.py:513: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3609.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
model.safetensors: 100%|███████████████████████████████████████████████████| 499M/499M [00:02<00:00, 185MB/s]
Some weights of RobertaModel were not initialized from the model checkpoint at roberta-base and are newly initialized: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
/home/rage/Desktop/tmp/AudioLDM/audioldm/pipeline.py:85: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(resume_from_checkpoint, map_location=device)
Traceback (most recent call last):
File "/home/rage/anaconda3/envs/audioldm/bin/audioldm", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/home/rage/Desktop/tmp/AudioLDM/bin/audioldm", line 152, in <module>
audioldm = build_model(model_name=args.model_name)
File "/home/rage/Desktop/tmp/AudioLDM/audioldm/pipeline.py", line 85, in build_model
checkpoint = torch.load(resume_from_checkpoint, map_location=device)
File "/home/rage/anaconda3/envs/audioldm/lib/python3.8/site-packages/torch/serialization.py", line 1072, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/home/rage/anaconda3/envs/audioldm/lib/python3.8/site-packages/torch/serialization.py", line 480, in __init__
super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
/home/rage/anaconda3/envs/audioldm/bin/audioldm:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').require('audioldm==0.1.1')
any help? Is this project no longer maintained? I can't manage to install and have it running correctly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels