athn-nik / teach

Official PyTorch implementation of the paper "TEACH: Temporal Action Compositions for 3D Humans"
https://teach.is.tue.mpg.de
Other
383 stars 40 forks source link

Unable to load weights from pytorch checkpoint #23

Closed arwooy closed 1 year ago

arwooy commented 1 year ago

When I run the demo interact_teach.py, got the following error: OSError: Error instantiating 'teach.model.temos.TEMOS' : Error instantiating 'teach.model.textencoder.distilbert_transformer.DistilbertEncoderTransformer' : Unable to load weights from pytorch checkpoint file for '/root/autodl-tmp/github/teach/deps/distilbert-base-uncased' at '/root/autodl-tmp/github/teach/deps/distilbert-base-uncased/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

athn-nik commented 1 year ago

Have you created the environment and followed the details for git lfs using the instructions in the Readme?

athn-nik commented 1 year ago

Hello, have you tried my suggestion @arwooy ?

athn-nik commented 1 year ago

I am closing this since there are no updates for a long time.