Giter VIP home page Giter VIP logo

Comments (33)

thisisjasleen avatar thisisjasleen commented on July 3, 2024

I'm trying to run the train.py file. However, I'm getting an error in this line:
tqdm.write(f'\nEpoch {epoch_i}')
Kindly help and please reply asap!
Thanks in advance!

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
Hi, This is pretraind model(checkpoint)

Could you tell me error message?
I want to run your code.
Did you edit self.data_path in config.py?
if not, edit self.data_path='./fcsn_dataset.h5' -> './fcsn_TVSum.h5'

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Hi, thankyou for replying.
I did edit the self.data_path .
The dataset was downloaded under the name 'fcsn_TVSum.h5' but i changed it to the one already mentioned in the code i.e. 'fcsn_dataset.h5'
The error still exists. A syntax error.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
If you're okay, Can i see your code??
please send [email protected] or upload your repository.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
I've used the same code as in this repo.
Nothing has been changed.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Can you share your code with me? The complete code for the implementation of this paper.
Here is my email: [email protected]

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
Okay^^
I sent codes.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Is your code complete? Is there any additional thing that needs to be added or should i directly run it?

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Also, I'm unable to open your pkl files.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen

I just edited "self.data_path" config.py. and then execute.
python train.py.
i didn't face error.

if you face error, please error message, where line, python version.
I can help exactly, because i don't know your situation detail.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Could the error be due to tqdm?
I tried to run train.py in the exact same manner without changing anything in any of the codes bt still faced an error.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
I think so, if just i see your statement.
i don't know detail error.
could you tell me your error message?

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

File train.py, Line 74
tqdm.write(f'\nEpoch {epoch_i}')
Syntax Error:invalid syntax

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

what is your python version??

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
I've installed tqdm. Don't know why is this error still coming.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

Python 3.5.2

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

Can you edit Line 74?
tqdm.write('\nEpoch {}'.format(epoch_i))
please tell me, whether error on not.
if not, edit tqdm.write code like this using .format()

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

Thanks. That issue seems resolved now.
However, now I'm encountering a syntax error in this line:
ckpt_path = self.config.save_dir + f'/epoch-{epoch_i}.pkl'

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

Good!!
I think that "f" is string format.
this code seems to support python 3.6 over.
python3.6 don't face error.
Please edit f'{epoch_i}' like this '{}'.format(epoch_i)
i will edit code. and then pull requests.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

Okay. Thankyou for the help.
Also, have you sent me the codes? Are those codes complete or do i have to add things?

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
Yes. But just this repository codes. so you can't.
Do you want executable codes??
I think nothing for train and test. maybe... hah

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
Yes, I need complete executable codes.Preferably the trained models which i can further tune as per my needs. Could you provide them?

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

ckpt_path = self.config.save_dir + f'/epoch-{epoch_i}.pkl'
I tried editing this line like the way you suggested. It's showing some error though.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

I just have a model made by this repository.
you can get same model, if you just execute.
f'/epoch-{epoch_i}.pkl' -> '/epoch-{}.pkl'.format(epoch_i)
It's easy^^.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

Can you send me your model? Is it the one you sent previously? I'm not able to open those pickle files.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

You means that pickle files crushed?
or can't download?

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

I've downloaded them. They just aren't opening.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

@SinDongHwan
I'm having a little trouble visualizing what the output of this entire code is>? I mean, what is the end result? Are we getting the summarized versions of the videos or not?

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

@thisisjasleen
I think it's not hard to visualize.
this result is sequence of {0,1}.
if you see, 'score_dir/epoch-{}.json',

key is video number.
value is sequence of {0,1}. 1: keyframe, 0:not

you should post process.
features of dataset pick one frame per 15 frame.
and then this is used to train, evaluate, test.

to get summarize video, read #3 . so you can see evaluate code link.

from fcsn.

thisisjasleen avatar thisisjasleen commented on July 3, 2024

Okay, I'll check the link. Btw, what does this pickle file contain?

from fcsn.

Ai-is-light avatar Ai-is-light commented on July 3, 2024

pretraind model(checkpoint)

would you mind sharing your pre-trained model again? After linking the url "Hi, This is pretraind model(checkpoint)" you supported, I will got the following information
此项可能已被删除或过期,或者你没有查看权限。有关详细信息,请与此项的所有者联系。

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 3, 2024

hi, @Ai-is-light.
I can't access my server pc.
I will re-upload a pretrained model on next Monday(19th).

if somebody has a pretrained model, please share it.

from fcsn.

tchennwpu avatar tchennwpu commented on July 3, 2024

hi, @Ai-is-light.
I can't access my server pc.
I will re-upload a pretrained model on next Monday(19th).

if somebody has a pretrained model, please share it.

hi, could you please reshare the pre-trained model again?

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.