Coder Social home page Coder Social logo

ten_emnlp2020's People

Contributors

albertchen1991 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

albertchen1991

ten_emnlp2020's Issues

size mismatch for classifier

Hello, First I would like to appreciate your work in the Domain of DST that you have been done great in TEN article. I am working on your proposed model to understand the code according to published article. I am able to reproduce results on DSTC2 dataset but when i change dataset from DSTC2 to Woz or Multiwoz in config.py , then i am getting the following error:
File "/home/asifdadra/Downloads/enter/envs/ttp37/lib/python3.7/site-packages/torch/nn/modules/module.py", line 847, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Model:
size mismatch for emb_fixed.weight: copying a param with shape torch.Size([1621, 400]) from checkpoint, the shape in current model is torch.Size([950, 400]).
size mismatch for classifier.area.weight: copying a param with shape torch.Size([7, 50]) from checkpoint, the shape in current model is torch.Size([8, 50]).
size mismatch for classifier.area.bias: copying a param with shape torch.Size([7]) from checkpoint, the shape in current model is torch.Size([8]).
size mismatch for classifier.food.weight: copying a param with shape torch.Size([76, 50]) from checkpoint, the shape in current model is torch.Size([77, 50]).
size mismatch for classifier.food.bias: copying a param with shape torch.Size([76]) from checkpoint, the shape in current model is torch.Size([77]).

Process finished with exit code 1

Could you please provide your feedback to resolve this. Thank You.

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.