bdaiinstitute / theia

Theia: Distilling Diverse Vision Foundation Models for Robot Learning
http://theia.theaiinstitute.com
Other
159 stars 6 forks source link

some problems #14

Open sunhan1997 opened 1 week ago

sunhan1997 commented 1 week ago

hello, I try to run this code by hugeface,but get some error:

UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
Some weights of ViTModel were not initialized from the model checkpoint at facebook/deit-base-patch16-224 and are newly initialized: ['vit.pooler.dense.bias', 'vit.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Fast image processor class <class 'transformers.models.vit.image_processing_vit_fast.ViTImageProcessorFast'> is available for this model. Using slow image processor class. To use the fast image processor class set `use_fast=True`.

In addition, how can i get the checkpoint?

elicassion commented 1 week ago

Hi @sunhan1997

The TypedStorage thing is a warning and you can ignore it.

The Fast image processor is a new feature from huggingface and is optional. In the current code release we don’t use it.

To get pre-trained checkpoints, you can follow our quick start guide or visit https://huggingface.co/collections/theaiinstitute/theia-66a7a6ae80a707547c358cce