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
Traceback (most recent call last):
File "/dfs/comicai/songtao.tian/InstaFlow-main/code/test_instaflow.py", line 4, in
pipe = RectifiedFlowPipeline.from_pretrained("/dfs/comicai/zhiyuan.shi/models/XCLiu/instaflow_0_9B_from_sd_1_5", torch_dtype=torch.float16)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 1271, in from_pretrained
loaded_sub_model = load_sub_model(
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 525, in load_sub_model
loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 2028, in from_pretrained
return cls._from_pretrained(
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 2260, in _from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/models/clip/tokenization_clip.py", line 327, in init
self.encoder = json.load(vocab_handle)
File "/root/miniconda3/envs/LCM/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/root/miniconda3/envs/LCM/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/root/miniconda3/envs/LCM/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/root/miniconda3/envs/LCM/lib/python3.9/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 48921 column 3 (char 1041097)
The text was updated successfully, but these errors were encountered:
When I run https://github.com/gnobitab/InstaFlow/tree/main/code#inference-instaflow-09b-one-step-generation, I meet the following error.
Traceback (most recent call last):
File "/dfs/comicai/songtao.tian/InstaFlow-main/code/test_instaflow.py", line 4, in
pipe = RectifiedFlowPipeline.from_pretrained("/dfs/comicai/zhiyuan.shi/models/XCLiu/instaflow_0_9B_from_sd_1_5", torch_dtype=torch.float16)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 1271, in from_pretrained
loaded_sub_model = load_sub_model(
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/diffusers/pipelines/pipeline_utils.py", line 525, in load_sub_model
loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 2028, in from_pretrained
return cls._from_pretrained(
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/tokenization_utils_base.py", line 2260, in _from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "/root/miniconda3/envs/LCM/lib/python3.9/site-packages/transformers/models/clip/tokenization_clip.py", line 327, in init
self.encoder = json.load(vocab_handle)
File "/root/miniconda3/envs/LCM/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/root/miniconda3/envs/LCM/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/root/miniconda3/envs/LCM/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/root/miniconda3/envs/LCM/lib/python3.9/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 48921 column 3 (char 1041097)
The text was updated successfully, but these errors were encountered: