Coder Social home page Coder Social logo

obj2text-improved's Introduction

obj2text-improved's People

Contributors

tamakisakura avatar ubcmark avatar wendy-xiao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

obj2text-improved's Issues

encoder.load_state_dict(torch.load(args.encoder_path))

Dear Tamaki
My config is: windows 10, CPU (no GPU), Python 3.6, while I run the program, I got the following error message. thank you for your help. Cheers.
Edward.

encoder.load_state_dict(torch.load(args.encoder_path))
File "D:\Dev\IDE\Anaconda35\lib\site-packages\torch\nn\modules\module.py", line 719, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for EncoderCNN:
Missing key(s) in state_dict: "vgg16_feat.0.weight", "vgg16_feat.0.bias", "vgg16_feat.2.weight", "vgg16_feat.2.bias", "vgg16_feat.5.weight", "vgg16_feat.5.bias", "vgg16_feat.7.weight", "vgg16_feat.7.bias", "vgg16_feat.10.weight", "vgg16_feat.10.bias", "vgg16_feat.12.weight", "vgg16_feat.12.bias",........"vgg16_clf.0.bias", "vgg16_clf.3.weight", "vgg16_clf.3.bias".
Unexpected key(s) in state_dict: "resnet.0.weight", "resnet.1.weight", "resnet.1.bias", "resnet.1.running_mean", "resnet.1.running_var", "resnet.4.0.conv1.weight", "resnet.4.0.bn1.weight", "resnet.4.0.bn1.bias", ........................... "resnet.7.2.bn3.running_mean", "resnet.7.2.bn3.running_var".
size mismatch for linear.weight: copying a param of torch.Size([256, 4096]) from checkpoint, where the shape is torch.Size([256, 2048]) in current model.

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.