Code Monkey home page Code Monkey logo

attentionbasedmultimodalrnn's People

Contributors

geriskenderi avatar joppichristian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

attentionbasedmultimodalrnn's Issues

Different WAPE compare to paper

Dear HumaticsLAB,

First of all, thanks for sharing your code.
I ran this model with all default parameters except instead of 12 weeks for 6 weeks and for model I chose "cross".
The WAPE I got is 53.46 while the WAPE in GTM paper for Cross model with Gtrend is 59.0.

I used your formula for WAPE in code. I highlighted the row in this picture
GTM

In the last four rows of this image, i got the same values by running models, only cross with Gtrend is different.

Could you please help me? I need to know how produce the same scores as you did for my comparison part as base-line models.

Bests,
Maryam

[bug report]

self.color = [color_dict[x] for x in self.json_df['exact_color'].tolist()]

when I run python train.py --data_folder dataset

Traceback (most recent call last):
File "train.py", line 85, in
train_dataset = CustomImageDataset(config.TRAIN_DATASET, dataset_path, transform=ds_trans)
File "AttentionBasedMultiModalRNN-main/utils.py", line 32, in init
self.color = [color_dict[x] for x in self.json_df['exact_color'].tolist()]
File "/usr/local/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py", line 2906, in getitem
indexer = self.columns.get_loc(key)
File "/usr/local/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2900, in get_loc
raise KeyError(key) from err
KeyError: 'exact_color'

The 'exact_color' is not in the colums of train.csv or test.csv, should it be 'color' ?

Can you check your code again to make sure that it can run directly?
I encountered a lot of bugs when I ran this code.

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.