Giter VIP home page Giter VIP logo

Comments (28)

weirme avatar weirme commented on August 26, 2024

This function generates a summary from summary of 20 users in the dataset.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

The implementation is based on which paragraph of FSCN paper or other paper?

from fcsn.

weirme avatar weirme commented on August 26, 2024

Chapter 3.1 of this paper: Diverse sequential subset selection for supervised video summarization. In my implementation, the greedy algorithm selects the frame marked by the most users each time.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

After reading Chapter 3.1, I still cannot realize the process.
Given 3 human summaries with 5 frames:
A: [1,0,1,1,0]
B: [0,0,1,0,0]
C: [0,0,0,1,0]

How to get the final summary?
First: calculate the select times of each frame -> [1,0,2,2,0]
Second: I have no idea...

from fcsn.

weirme avatar weirme commented on August 26, 2024

In my implementation, initialize oracle summary as [0, 0, 0, 0, 0], and then pick the most selected frame (here the third), now the oracle summary will be [0, 0, 1, 0, 0]. Determine if the F-score between oracle summary and user summary increases after adding this frame. If true, continue to select next frame, otherwise it ends.
But it is just my implementation, I didn't find a specific description of the greedy algorithm used in the paper. So I'm not sure if the algorithm is like this.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Where is FCSN mentioned that they use "Diverse sequential subset selection for supervised video summarization" for generating a summary from summary of users?

from fcsn.

weirme avatar weirme commented on August 26, 2024

This method is mentioned in supplementary materials of paper Video Summarization with Long Short-term Memory.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

After I read the paragraph, I implement it.

https://github.com/pcshih/pytorch-FCSN/blob/7d4f874f6c71d5b279b6e26a6ee4882460230fc9/make_dataset.py#L84

Is my understanding identical to yours?

But the performance is quite bad...

from fcsn.

weirme avatar weirme commented on August 26, 2024

Have you print the final F-score between generated oracle summary and user summary?

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Did you mean the parameter "best_fscore"?

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

best_fscore_1
best_fscore_2

It seems slightly different.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

https://github.com/KaiyangZhou/pytorch-vsumm-reinforce/blob/fdd03be93f090278424af789c120531e49aefa40/main.py#L164

I found that tvsum use avg but summe use max when evaluating.
After I change summe to max, my result gets better.

But I do not know why to use this method...

FCSN_1D_summe_eval_max

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Could you share the tvsum video on your google drive?
tvsum needs authorization....

from fcsn.

weirme avatar weirme commented on August 26, 2024

https://github.com/KaiyangZhou/pytorch-vsumm-reinforce/blob/fdd03be93f090278424af789c120531e49aefa40/main.py#L164

I found that tvsum use avg but summe use max when evaluating.
After I change summe to max, my result gets better.

But I do not know why to use this method...

FCSN_1D_summe_eval_max

Is this result on SumMe? It seems close to that in paper!

from fcsn.

weirme avatar weirme commented on August 26, 2024

Could you share the tvsum video on your google drive?
tvsum needs authorization....

Wait a moment, I'm now uploading it...

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

https://github.com/KaiyangZhou/pytorch-vsumm-reinforce/blob/fdd03be93f090278424af789c120531e49aefa40/main.py#L164
I found that tvsum use avg but summe use max when evaluating.
After I change summe to max, my result gets better.
But I do not know why to use this method...
FCSN_1D_summe_eval_max

Is this result on SumMe? It seems close to that in paper!

Yes, it is summe.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Could you share the tvsum video on your google drive?
tvsum needs authorization....

Wait a moment, I'm now uploading it...

Thank you

from fcsn.

weirme avatar weirme commented on August 26, 2024

Here is the link.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Got it. Thank you very much.
Did you figure out ?
https://github.com/KaiyangZhou/pytorch-vsumm-reinforce/blob/fdd03be93f090278424af789c120531e49aefa40/main.py#L164

from fcsn.

weirme avatar weirme commented on August 26, 2024

May be it is a default setting in evaluation? I also think it's strange...
And I noticed that selected key frames of videos in summe differ greatly from each user, F-score between generated oracle summary and user summary is only nearly 50%, but that is nearly 70% in tvsum. In this case, getting a summary close to every user seems to be difficult. Is this probably a reason to select max?

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

I agree with your opinion. Let's take this evaluation method for granted.
I also implement this paper which architecture is based on FCSN but there are some problems...

from fcsn.

weirme avatar weirme commented on August 26, 2024

I have not read this paper yet, its architecture looks complicated.

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Do you have any idea of FCSN in unsupervised version?

from fcsn.

weirme avatar weirme commented on August 26, 2024

No... I skip that part when reading the paper...

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

Shall we implement that part?

from fcsn.

weirme avatar weirme commented on August 26, 2024

I will try to implement it after reading that part, but there may be some problems because my computer at home doesn't have a nvidia gpu 😅😅

from fcsn.

pcshih avatar pcshih commented on August 26, 2024

I am counting on you.

from fcsn.

Pager07 avatar Pager07 commented on August 26, 2024

Here is the link.

Thanks for this.

from fcsn.

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.