junjiehu / reco-rl Goto Github PK
View Code? Open in Web Editor NEWCodes of AAAI 2020 paper "What Makes A Good Story? Designing Composite Rewards for Visual Storytelling"
License: MIT License
Codes of AAAI 2020 paper "What Makes A Good Story? Designing Composite Rewards for Visual Storytelling"
License: MIT License
Thank you for your sharing, but the links of the preprocessed data and pre-trained models are not available. Could you please send me an available link? Thank you very much!
Hi, I was looking to evaluate the model on some of the image in the VIST data and other images in my curated dataset as well. Would it be possible for you to share the image pre-processing scripts that were used to
a) Resize / Transform the raw image.
b) Get the Resnet 152 Features.
i.e steps to get the resnet image features from say this raw image -> https://ibb.co/qxjgTtZ
I had experimented with multiple transformation to (256,256) and then getting the features etc , I also tried the AREL image processing script -> https://github.com/eric-xw/AREL/blob/master/scripts/extract_features.py but wasn't able to get the same values. Would really appreciate any pointers.
PS :- Thanks a lot for making the code public.
When i run the script train_rl.sh, there is a error " can't open file 'vist/train_wx_coh.py': [Errno 2] No such file or directory".
Could you provide your model's generated stories on the VIST testing dataset?
File "/home/ReCo-RL/src/trainer.py", line 58, in _forward
lprobs = self.model(sample['src_seq'], sample['src_lengths'], sample['trg_seq'])
In vist_dataloader.py, there are not 'def forward()' in 'class VistDataLoader'. Can you submit a new code that include the 'forward' method?
compute_relevance_reward
if w not in vocab.word2pos:
TypeError: argument of type 'NoneType' is not iterable
There are some errors because the word2lemma and the word2pos are not assigned. Can you provide a revised code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.