You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have test it. You can set the --mask_ratio=0. in the command.
But you will get an ERROR when model calculates the mse loss.
To avoid it, you can add a evaluate_one_epoch fuction in engine_for_pretraining.py to extract the feature of pretrained model. And maybe def evaluate(data_loader, model, device) can help you.
hi, I have a question that if I want to extract the feature in pretrained model,should I only to inference the encoder with all mask=0?
The text was updated successfully, but these errors were encountered: