Comments (6)
Some other questions:
-
utils/init.py
from .nlg_eval.nlgeval import NLGEval
No file called "nlg_eval". This function is very important for the evaluation. -
train_iq.py
data_loader = get_loader(args.dataset, transform, ...
No get_vae_loader. Should it be get_loader? -
train_iq.py
train_weights = json.load(open(args.train_dataset_weights))
Where can we get "train-dataset-weights"? -
iq.py
self.decoder = DecoderRNN(vocab_size, max_len, hidden_size, sos_id=sos_id, eos_id=eos_id, n_layers=num_layers, rnn_cell=rnn_cell, input_dropout_p=input_dropout_p, dropout_p=dropout_p, # use_attention=use_attention, embedding=embedding)
DecoderRNN doesn't have use_attention keywork argument.
Thanks!
from iq.
Hi, Ranjay
Thanks for releasing the code.
The input parameters of "iq/utils/store_dataset.py" includes a path to the processed "ans2cat.json file". There isn't a processed code for generating this file. Can it be done by exchanging the position of key-value pair in here?
Thanks
Becky
Hi beckybai
I'm facing the same question. If you solve the question, could you tell me the solution?
Thanks a lot!
from iq.
Hi, Ranjay
Thanks for releasing the code.
The input parameters of "iq/utils/store_dataset.py" includes a path to the processed "ans2cat.json file". There isn't a processed code for generating this file. Can it be done by exchanging the position of key-value pair in here?
Thanks
BeckyHi beckybai
I'm facing the same question. If you solve the question, could you tell me the solution?
Thanks a lot!
I didn't find any solution.
from iq.
Hi @beckybai and @tobytyx, I solved this issue by substituting cat2ans.json with iq_dataset.json and made some changes in store_dataset.py. You can see the changes that I made in my forked repo. Similarly, although I haven't tried it, I think you could also reverse the key and value pairs in iq_dataset.json to generate cat2ans.json.
I also couldn't find the train_datasets_weight.json file. Have you guys found a solution? Thanks!
from iq.
Hi, Ranjay
Thanks for releasing the code.
The input parameters of "iq/utils/store_dataset.py" includes a path to the processed "ans2cat.json file". There isn't a processed code for generating this file. Can it be done by exchanging the position of key-value pair in here?
Thanks
Becky
Hi beckybai
I'm facing the same question. If you solve the question, could you tell me the solution?
Thanks a lot!
from iq.
I am facing the same issues too.
from iq.
Related Issues (8)
- Is it possible to release the pretrained file?
- How to specify the model type in train.py ?
- vae_val_dataset_weights.json missing HOT 1
- Getting an Error "AttributeError: 'dict' object has no attribute 'encode'" HOT 1
- Problem with inference script and replication of paper results HOT 3
- missing the body of function get_vae_loader() in evaluate_iq.py
- The loss got NAN HOT 3
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 iq.