Git Product home page Git Product logo

Comments (5)

tgc1997 avatar tgc1997 commented on August 18, 2024

Sorry, I can not reproduce your errors, you can check the tensors' sizes step by step (5200 is a strange number). The training of the model is not very stable, so the final result of MSVD in the paper is an average of three models' results.

from rmn.

HXYNODE avatar HXYNODE commented on August 18, 2024

thanks for your tips
i try to reproduce the project again using another machine but the same error is reported
the error i met before
2021-04-13 13-37-40 的屏幕截图
i attempt to debug the evaluate.py according to your suggestions
the strange number 5200 occurs as follows:
2021-04-13 13-33-43 的屏幕截图
the errors may be caused by the parameters' size inside the bi_lstm
so could you show the screenshot pictures just like the same with the second pictures i uploaded when you run the evaluate.py in debug mode.
it confused me a lot and i do want to find out the reason.
and i argue that the core problem still is that the net structure is incompitable with the msvd checkpoint files.
thank you for your kindly and generous help again!

from rmn.

tgc1997 avatar tgc1997 commented on August 18, 2024

make sure you didn't change the size parameter in utils.opt.py, and run with the following command:
python evaluate.py --dataset=msvd --model=RMN --result_dir=results/msvd_model --use_loc --use_rel --use_func --hidden_size=512 --att_size=1024 --test_batch_size=2 --beam_size=2 --eval_metric=CIDEr

And I tried to output the size as you did, but I didn't find anything wrong:
weight_size

from rmn.

tgc1997 avatar tgc1997 commented on August 18, 2024

Note that the hidden size for msvd is 512 as mentioned in the paper.

from rmn.

HXYNODE avatar HXYNODE commented on August 18, 2024

Ooops... i got it wrong and you found it!
the hidden size parameter set in my run command, 1000 for msr-vtt, did not replaced by 512 for msvd.
u're so cool & nice.
thanks a lot for your timely help and reply! : )

from rmn.

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.