Comments (5)
Is there any more to the traceback? I had a similar issue come up, but it was a far longer error.
from jarvis.
There is, here's the full traceback. git-lfs is installed, initialized and updated:
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/transformers/modeling_utils.py", line 415, in load_state_dict
return torch.load(checkpoint_file, map_location="cpu")
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/torch/serialization.py", line 795, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/torch/serialization.py", line 1002, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "models_server.py", line 342, in <module>
pipes = load_pipes(local_deployment)
File "models_server.py", line 87, in load_pipes
"model": VisionEncoderDecoderModel.from_pretrained(f"{local_fold}/nlpconnect/vit-gpt2-image-captioning"),
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py", line 363, in from_pretrained
return super().from_pretrained(pretrained_model_name_or_path, *model_args, **kwargs)
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/transformers/modeling_utils.py", line 2477, in from_pretrained
state_dict = load_state_dict(resolved_archive_file)
File "/home/ubuntu/miniconda3/envs/jarvis/lib/python3.8/site-packages/transformers/modeling_utils.py", line 420, in load_state_dict
raise OSError(
OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run `git lfs install` followed by `git lfs pull` in the folder you cloned.
from jarvis.
If you installed git-lfs
AFTER downloading the models, then you will need to rerun the download.sh
script inside jarvis/server/models/
from jarvis.
Thanks, that seems to be what was happening. Download hasn't completed yet though (it keeps getting stuck at some point), so I haven't been able to check if it works. I'll close this issue once I'm able to test it out.
from jarvis.
I'm closing this issue, solved after re-download the models.
from jarvis.
Related Issues (20)
- 希望发布WINDOWS版
- Run command "npm run dev“, get npm Error. HOT 1
- Evaluation Dataset mentioned in Hugging GPT paper is not available HOT 1
- 运行python run_gradio_demo.py --config configs/config.gradio.yaml,报错:
- models_server.py error HOT 1
- Jarvis
- System : Failed to execute 'open' on 'XMLHttpRequest': Invalid URL HOT 1
- 这个项目不再更新了吗? HOT 2
- data目录下hg上llm的元数据文件p0_models.jsonl怎么获取
- No avaiable models, inference_mode: huggingface HOT 1
- Are there plans to release the task planning evaluation procedure and datasets? HOT 2
- Several questions.Whats the differences between the "tprompt" and "prompt" in config.yaml? HOT 1
- Jarvis
- M
- Idea to reduce resource usage in Microsoft/JARVIS
- keep getting Network Error response HOT 2
- windows 执行报错
- Don't retry same tool if already tried
- There is a runtime error in online demo. Please fix it.
- Function names in taskbench/generate_graph.py may be incorrect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jarvis.