Comments (33)
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.
@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.
@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.
@thisisjasleen
If you're okay, Can i see your code??
please send [email protected] or upload your repository.
from fcsn.
@SinDongHwan
I've used the same code as in this repo.
Nothing has been changed.
from fcsn.
@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.
@thisisjasleen
Okay^^
I sent codes.
from fcsn.
@SinDongHwan
Is your code complete? Is there any additional thing that needs to be added or should i directly run it?
from fcsn.
@SinDongHwan
Also, I'm unable to open your pkl files.
from fcsn.
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.
@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.
@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.
File train.py, Line 74
tqdm.write(f'\nEpoch {epoch_i}')
Syntax Error:invalid syntax
from fcsn.
what is your python version??
from fcsn.
@SinDongHwan
I've installed tqdm. Don't know why is this error still coming.
from fcsn.
Python 3.5.2
from fcsn.
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.
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.
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.
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.
@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.
@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.
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.
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.
Can you send me your model? Is it the one you sent previously? I'm not able to open those pickle files.
from fcsn.
You means that pickle files crushed?
or can't download?
from fcsn.
I've downloaded them. They just aren't opening.
from fcsn.
@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.
@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.
Okay, I'll check the link. Btw, what does this pickle file contain?
from fcsn.
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.
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.
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)
- Hello,Can you send me a dataset? HOT 4
- Hello,can you tell me the concrete structure of the unsupervised FCSN?
- gen_summary failed with IndexError HOT 6
- Is it able to summarize a custom video? HOT 1
- The architecture of the FCSN is different from the paper
- Could you share the SumMe dataset on your google drive?
- KeyError: "Unable to open object (object 'video_tensor(41)' doesn't exist)" HOT 10
- Can you provide‘.h5’ files under three settings of dataset?
- provide data/files (ydata-tvsum50-v1_1)
- hello,Are you the author of the paper?
- How to do this in colab
- index 5866 is out of bounds for axis 0 with size 5846 HOT 1
- A mistake in train.py line 48
- Implementation of Reconstruction and Diversity loss
- Is the model same as discussed in the paper??
- IndexError: index 202 is out of bounds for axis 0 with size 0 HOT 1
- fcsn_dataset.h5
- train on my own dataset
- How test this on single video?
- unable 同openobject(object ‘video_-esJrBWj2d8’ doesn't exit)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcsn.