Comments (9)
Hi, Can you please try with joblib?
import joblib
data = joblib.load("<path to pkl>")
print(data.keys())
from lart.
Failed.
import job lib
x = joblib.load("/Users/vijaysaraswat/Downloads/demo_round5_clip.pkl")
==>
KeyError Traceback (most recent call last)
Input In [57], in <module>
----> 1 x = joblib.load("/Users/vijaysaraswat/Downloads/demo_round5_clip.pkl")
File ~/anaconda3/envs/py310/lib/python3.9/site-packages/joblib/numpy_pickle.py:587, in load(filename, mmap_mode)
581 if isinstance(fobj, str):
582 # if the returned file object is a string, this means we
583 # try to load a pickle file generated with an version of
584 # Joblib so we load it with joblib compatibility function.
585 return load_compatibility(fobj)
--> 587 obj = _unpickle(fobj, filename, mmap_mode)
588 return obj
File ~/anaconda3/envs/py310/lib/python3.9/site-packages/joblib/numpy_pickle.py:506, in _unpickle(fobj, filename, mmap_mode)
504 obj = None
505 try:
--> 506 obj = unpickler.load()
507 if unpickler.compat_mode:
508 warnings.warn("The file '%s' has been generated with a "
509 "joblib version less than 0.10. "
510 "Please regenerate this pickle file."
511 % filename,
512 DeprecationWarning, stacklevel=3)
File ~/anaconda3/envs/py310/lib/python3.9/pickle.py:1212, in _Unpickler.load(self)
1210 raise EOFError
1211 assert isinstance(key, bytes_types)
-> 1212 dispatch[key[0]](self)
1213 except _Stop as stopinst:
1214 return stopinst.value
KeyError: 188
from lart.
If you running it on collab, are you using the dev branch?
from lart.
No. I did a git clone
of the code, and then a pip instal -e .[all]
(I have been working last few days with PHALP, 4DHumans and LART, and may have the [all]
mixed up. But no, I did not switch to a dev
branch, worked with head in all cases.)
from lart.
I see if you only install lart with pip install -e .[demo]
it will install both 4DHumans and PHALP. Perhaps you could please try a new environment with only installing lart? I just tried this on my end on jump.mp4
and I was able to read all the .pkl
files under results_temporal_fast
.
from lart.
No luck. Similar error. Actually let me focus om just getting PHALP pkl files read first. Will try tomorrow.
from lart.
Hello
Thanks for your great work.
I have same problem. I can't unpickle the generated pickles in both LART and PHALP output folders.(I use google colab)
from lart.
@saraswat any updates on this? Thanks.
from lart.
closing this due to inactivity. please feel free to reopen if needed.
from lart.
Related Issues (20)
- Fine-tune on a custom dataset HOT 5
- Couple questions (video length, HIERA) HOT 6
- Problem with Downloading Dependencies HOT 3
- Training code needs the "Demo on videos" stuffs HOT 1
- KeyError: 'apperance_index' HOT 3
- Difference between smoothed track and non smoothed track HOT 1
- Pre trained model not found HOT 1
- Questions about encoding HOT 2
- CUDA OUT OF MEMORY HOT 2
- License
- models
- No module named 'sklearn.linear_model'
- How to create customer dataset?
- How to create customer dataset? HOT 1
- Dependency issues on Windows
- cannot download full dataset from dropbox HOT 1
- Cannot reproduce results on ava HOT 2
- Numpy upgrade error for training and evaluating HOT 1
- CUDA memory management
- Checkpoint for LART-pose
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 lart.