Giter Site home page Giter Site logo

Comments (12)

pandababyer avatar pandababyer commented on July 17, 2024 3

Hi, I think it is caused by the difference between python2 and python3. Maybe you can rewrite the code 'key = h5_res.keys()[args.idx]' to 'key = list(h5_res.keys())[args.idx]' in line 40 at summary2video.py

from pytorch-vsumm-reinforce.

SinDongHwan avatar SinDongHwan commented on July 17, 2024

Hi, @bjameslondon123

Did you input a h5 path correctly??
and where line did you face error??

from pytorch-vsumm-reinforce.

bjameslondon123 avatar bjameslondon123 commented on July 17, 2024

Hey @SinDongHwan, Thanks for replying
Yes i did give the correct results.h5 path, the error is appearing in the summary2video.py file, line 40, in
key = h5_res.keys()[args.idx]
TypeError: 'KeysViewHDF5' object is not subscriptable.

from pytorch-vsumm-reinforce.

sylvainma avatar sylvainma commented on July 17, 2024

@bjameslondon123 did you solve this?

from pytorch-vsumm-reinforce.

hayachiq avatar hayachiq commented on July 17, 2024

hi, kindly to help me am facing bellow error
error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

from pytorch-vsumm-reinforce.

SinDongHwan avatar SinDongHwan commented on July 17, 2024

hi, @hayachiq.
Try to check a image variable, after read image.
Maybe you didn't read images.

Good Luck

from pytorch-vsumm-reinforce.

hayachiq avatar hayachiq commented on July 17, 2024

thank you for replaying @SinDongHwan
could you please help me where to find the images ? should they be downloaded with the dataset ?

from pytorch-vsumm-reinforce.

SinDongHwan avatar SinDongHwan commented on July 17, 2024

Hi, @hayachiq.
Yes, You should download a original dataset(images).
And maybe face a error about mismatching of image file names.
So, you have to change a code this line
Good Luck~!!

from pytorch-vsumm-reinforce.

sky-16 avatar sky-16 commented on July 17, 2024

Hi, @hayachiq.
Yes, You should download a original dataset(images).
And maybe face a error about mismatching of image file names.
So, you have to change a code this line
Good Luck~!!

I am unable to get from which folder to read images. Where they are placed and what needed to be changed in code.

from pytorch-vsumm-reinforce.

SinDongHwan avatar SinDongHwan commented on July 17, 2024

Hi, @sky-16.
before edit codes, check images file name.

from pytorch-vsumm-reinforce.

sky-16 avatar sky-16 commented on July 17, 2024

Hi, @sky-16.
before edit codes, check images file name.

I have downloaded the dataset mentioned in #40.
Is there any other dataset because in this one I can not find path for reading frames.
Could you tell me in which folder to check for path for reading frames images? I followed the default instructions.

from pytorch-vsumm-reinforce.

SinDongHwan avatar SinDongHwan commented on July 17, 2024

Hi, @sky-16.
#40 is not original dataset.
e.g. If you need to TVSum dataset, Go to TVSum dataset home page.
And then Download original dataset.
Others are same.

from pytorch-vsumm-reinforce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.