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
{{ message }}
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
I used my own video classification trained with the configuration of ucf101. It seems that there is a little overfitting. I want to use my code for inference, but I can't find a related tutorial. I can only find it, and I don't know what to do next. plaese help me @mannatsingh
fromclassy_vision.generic.utilimportload_checkpointfromclassy_vision.modelsimportClassyModel# This is important: importing models here will register your custom models with Classy Vision# so that it can instantiate them appropriately from the checkpoint file# See more information at https://classyvision.ai/api/models.html#classy_vision.models.register_modelfromclassy_visionimportmodels# Update this with your actual directory:checkpoint_dir='/home/sucom/hdd_1T/project/video_rec_0831/ClassyVision/checkpoint_hand/model_phase-2198_end.torch'checkpoint_data=load_checkpoint(checkpoint_dir)
model=ClassyModel.from_checkpoint(checkpoint_data)