Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

AttributeError for VideoClassifier instantiation with backbone slow_r50_detection #1328

Open
kskdermolab opened this issue May 5, 2022 · 1 comment
Labels
bug / fix Something isn't working help wanted Extra attention is needed
Milestone

Comments

@kskdermolab
Copy link

馃悰 Bug

Hi!
I need to train the slow_50 model for spatio temporal detection. I didn't find a VideoClassificationData for loading AVA dataset, so, I decided to build a new DataModule using as reference the one on the flash_examples (custom_data_loading.py). I don't know if is going to work because I don't know how the trainer pass the input to the model (have two parameters: the Tensor with the clip, and the list of bounding boxes).
I tried to load the model using the VideoClassifier:
model = VideoClassifier( backbone="slow_r50_detection", pretrained=True )
and it fails with the error:

*** AttributeError: 'DetectionBBoxNetwork' object has no attribute 'blocks'

I didn't find any issue or documentation about how to train or load this models, are you planning to make a tutorial about that?

@kskdermolab kskdermolab added bug / fix Something isn't working help wanted Extra attention is needed labels May 5, 2022
@ethanwharris
Copy link
Collaborator

Hey @MGReyes thanks for reporting this! There are a few things to unpack here that we should work on:

  • documentation for using tasks with your own datamodules (expect this soon in our upcoming 0.8 release)
  • resolving the issue with the slow_r50_detection backbone (we can target this for a 0.8.x patch release)
  • supporting more formats for video classification data (some small additions coming in 0.8 but we can scope some more for 0.9 also)

I'll keep you updated as we make progress with these efforts. Hope that helps! 馃槂

@ethanwharris ethanwharris added this to the 0.9.0 milestone Jun 29, 2022
@stale stale bot added the won't fix This will not be worked on label Sep 22, 2022
@ethanwharris ethanwharris removed the won't fix This will not be worked on label Oct 1, 2022
@Borda Borda changed the title AttributeError for VideoClassifier instantiation with backbone slow_r50_detection AttributeError for VideoClassifier instantiation with backbone slow_r50_detection Dec 23, 2022
@Lightning-Universe Lightning-Universe deleted a comment from stale bot Dec 23, 2022
@Borda Borda changed the title AttributeError for VideoClassifier instantiation with backbone slow_r50_detection AttributeError for VideoClassifier instantiation with backbone slow_r50_detection Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug / fix Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants