Comments (2)
After fixing this error, another issue persists when building the model (still unsolved)
3c433cce2c59_cosmos_cosmos_1 | ===== BUILDING MODEL ======
3c433cce2c59_cosmos_cosmos_1 | Built backbone resnet50
3c433cce2c59_cosmos_cosmos_1 | Building downstream components via shape testing
3c433cce2c59_cosmos_cosmos_1 | done shape testing, building, attention mechanisms
3c433cce2c59_cosmos_cosmos_1 | built multi head attention
3c433cce2c59_cosmos_cosmos_1 | 8, 8, 2048
3c433cce2c59_cosmos_cosmos_1 | super called
3c433cce2c59_cosmos_cosmos_1 | going to build a 131072 by 1024 matrix of weights
3c433cce2c59_cosmos_cosmos_1 | built embeddings
3c433cce2c59_cosmos_cosmos_1 | done
3c433cce2c59_cosmos_cosmos_1 | Traceback (most recent call last):
3c433cce2c59_cosmos_cosmos_1 | File "run.py", line 132, in <module>
3c433cce2c59_cosmos_cosmos_1 | run_inference(f'{tmp}/images', f'{tmp}/cc_proposals', model_config, weights, xml, device)
3c433cce2c59_cosmos_cosmos_1 | File "/app/infer/infer.py", line 23, in run_inference
3c433cce2c59_cosmos_cosmos_1 | model.load_state_dict(torch.load(weights, map_location={"cuda:0": device_str}))
3c433cce2c59_cosmos_cosmos_1 | File "/home/user/.local/lib/python3.6/site-packages/torch/serialization.py", line 358, in load
3c433cce2c59_cosmos_cosmos_1 | return _load(f, map_location, pickle_module)
3c433cce2c59_cosmos_cosmos_1 | File "/home/user/.local/lib/python3.6/site-packages/torch/serialization.py", line 532, in _load
3c433cce2c59_cosmos_cosmos_1 | magic_number = pickle_module.load(f)
3c433cce2c59_cosmos_cosmos_1 | _pickle.UnpicklingError: invalid load key, 'v'.
3c433cce2c59_cosmos_cosmos_1 exited with code 1
from cosmos.
Stale, closing.
from cosmos.
Related Issues (20)
- Leverage in-text table mentions to expand context recall HOT 4
- ASKE-ID as a parameter on ES retrieval API HOT 1
- Add SPECTER model functionality
- context enrichment should gracefully handle tableless documents
- replace os.path with pathlib.Path HOT 2
- The parquet files not found in output directory HOT 3
- Document naming question HOT 2
- Worker question HOT 2
- Elasticsearch virtual memory error HOT 4
- PIL Image size limits HOT 2
- NVIDIA driver HOT 4
- SSL certificate expired
- Wrong exception catch when extracted tables don't exist HOT 1
- Allow one, both, or neither extractions HOT 1
- Recognize, capture, and correct underlying PDF parsing issues HOT 1
- Parquet Files not found in Output HOT 1
- XGBoost Error HOT 3
- Timeout after 10 seconds? HOT 1
- Column text mixing in output
- Expecting `.png` but receiving `.jpg` HOT 2
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 cosmos.