You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I run this script, I encounter the following error:
2024-01-26,08:22:52 | INFO | Running in distributed mode with multiple processes. Device: cuda:1.Process (global: 1, local 1), total 2.
2024-01-26,08:22:52 | INFO | Loaded ViT-B-32 model config.
2024-01-26,08:22:52 | INFO | Running in distributed mode with multiple processes. Device: cuda:0.Process (global: 0, local 0), total 2.
2024-01-26,08:22:52 | INFO | Loaded ViT-B-32 model config.
2024-01-26,08:22:53 | INFO | Loading pretrained ViT-B-32 weights (/home/radiance/open_clip/open_clip_pytorch_model_b_32.bin).
2024-01-26,08:22:53 | INFO | Loading pretrained ViT-B-32 weights (/home/radiance/open_clip/open_clip_pytorch_model_b_32.bin).
Traceback (most recent call last):
File "/home/radiance/.conda/envs/jarvis/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/radiance/.conda/envs/jarvis/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/radiance/open_clip/src/training/main.py", line 542, in <module>
main(sys.argv[1:])
File "/home/radiance/open_clip/src/training/main.py", line 297, in main
model.lock_text_tower(
File "/home/radiance/.conda/envs/jarvis/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1614, in __getattr__
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'CLIP' object has no attribute 'lock_text_tower'
I am not sure why the lock_image parameter is causing this issue. Could you please give me a help?
The text was updated successfully, but these errors were encountered:
The issue is with --lock-text you mean? text locking needs support for the base model, see #523 ... that issue is almost working but think it needs a few changes, nobody has had the time to dig in
Lylinnnnn
changed the title
Issue with --lock-image Parameter in Bash Script
Issue with --lock-text Parameter in Bash Script
Jan 27, 2024
Hello,
I am encountering an issue with the
--lock-text
parameter in my bash script. Below is the script I am using:However, when I run this script, I encounter the following error:
I am not sure why the lock_image parameter is causing this issue. Could you please give me a help?
The text was updated successfully, but these errors were encountered: