Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem I meet in spatial_cnn and spatial_dataloader #77

Open
inkplatform opened this issue Nov 28, 2021 · 0 comments
Open

A problem I meet in spatial_cnn and spatial_dataloader #77

inkplatform opened this issue Nov 28, 2021 · 0 comments

Comments

@inkplatform
Copy link

Dear jeffreyyihuang:

Base your code,I don't clear how to make Spatial input data -> rgb frames, and how to make ture below load_ucf_image function

` def load_ucf_image(self,video_name, index):
if video_name.split('')[0] == 'HandstandPushups':
n,g = video_name.split('
',1)
name = 'HandStandPushups_'+g
path = self.root_dir + 'HandstandPushups'+'/separated_images/v_'+name+'/v_'+name+''
else:
path = self.root_dir + video_name.split('
')[0]+'/separated_images/v_'+video_name+'/v_'+video_name+'_'

    img = Image.open(path +str(index)+'.jpg')
    transformed_img = self.transform(img)
    img.close()

    return transformed_img`

I want to ask how to get Spatial input data -> rgb frames dataset. Thank you very much.
Chen Fei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant