Code Monkey home page Code Monkey logo

Comments (3)

vyouman avatar vyouman commented on July 29, 2024

Have got
bleu1 bleu2 bleu3 bleu4 meteor
67.0 49.0 35.0 24.9 22.8
on MSCOCO dataset. However, it doesn't seem to attend to the right place though the sentence is pretty good. I follow the instruction of @Lorne0 and modify the attention type to stochastic one. To be clear, the visualization is almost the same at all time steps. In other words, the attention weights doesn't seem to learn to attend to the specific place at timestep t. Do anyone have some ideas about it?

My setup is
{'lrate': 0.01, 'decay_c': 0.0, 'patience': 10, 'save_per_epoch': True, 'n_layers_init': 2, 'RL_sumCost': True, 'max_epochs': 5000, 'dispFreq': 1, 'attn_type': 'stochastic', 'alpha_c': 1.0, 'temperature': 1.0, 'n_layers_att': 2, 'saveto': 'coco_stochastic_model.exp1.npl', 'ctx_dim': 512, 'valid_batch_size': 64, 'lstm_encoder': False, 'n_layers_lstm': 1, 'optimizer': 'adam', 'validFreq': 2000, 'dictionary': None, 'batch_size': 64, 'selector': True, 'n_words': 10500, 'dataset': 'coco', 'use_dropout_lstm': False, 'prev2out': True, 'dim': 1800, 'use_dropout': True, 'dim_word': 512, 'sampleFreq': 250, 'semi_sampling_p': 0.5, 'n_layers_out': 1, 'saveFreq': 1000, 'maxlen': 100, 'alpha_entropy_c': 0.002, 'ctx2out': True, 'reload_': False}

I've run 21 epochs.

Or alpha_visualization doesn't support a stochastic one? The paper only mentioned the visualization of the soft attention.

from arctic-captions.

AMDS123 avatar AMDS123 commented on July 29, 2024

I have the same problem too.

from arctic-captions.

Shanzaay avatar Shanzaay commented on July 29, 2024

@vyouman and @AMDS123 can you guys tell me how to start the code and train the dataset.

from arctic-captions.

Related Issues (20)

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.