Giter Site home page Giter Site logo

Comments (6)

beckybai avatar beckybai commented on July 19, 2024

Some other questions:

  1. utils/init.py
    from .nlg_eval.nlgeval import NLGEval
    No file called "nlg_eval". This function is very important for the evaluation.

  2. train_iq.py
    data_loader = get_loader(args.dataset, transform, ...
    No get_vae_loader. Should it be get_loader?

  3. train_iq.py
    train_weights = json.load(open(args.train_dataset_weights))
    Where can we get "train-dataset-weights"?

  4. 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.

tobytyx avatar tobytyx commented on July 19, 2024

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.

beckybai avatar beckybai commented on July 19, 2024

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!

I didn't find any solution.

from iq.

jennifererwangg avatar jennifererwangg commented on July 19, 2024

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.

ljsun avatar ljsun commented on July 19, 2024

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.

nanguoshun avatar nanguoshun commented on July 19, 2024

I am facing the same issues too.

from iq.

Related Issues (8)

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.