Giter Club home page Giter Club logo

Comments (2)

Xiong5Heng avatar Xiong5Heng commented on July 24, 2024

I have the same problem, how did you solve it?

from online-3d-bpp-drl.

RosCstr avatar RosCstr commented on July 24, 2024

Hello. I have a similar problem. Please advise whether I should start or not a new post or not. When I enable rotations the program starts well but then I get the following:
...
enable_rotation: True
use cuda: True
item set: [(2, 2, 2), (2, 2, 3), (2, 2, 4), (2, 2, 5), (2, 3, 2), (2, 3, 3), (2, 3, 4), (2, 3, 5), (2, 4, 2), (2, 4, 3), (2, 4, 4), (2, 4, 5), (2, 5, 2), (2, 5, 3), (2, 5, 4), (2, 5, 5), (3, 2, 2), (3, 2, 3), (3, 2, 4), (3, 2, 5), (3, 3, 2), (3, 3, 3), (3, 3, 4), (3, 3, 5), (3, 4, 2), (3, 4, 3), (3, 4, 4), (3, 4, 5), (3, 5, 2), (3, 5, 3), (3, 5, 4), (3, 5, 5), (4, 2, 2), (4, 2, 3), (4, 2, 4), (4, 2, 5), (4, 3, 2), (4, 3, 3), (4, 3, 4), (4, 3, 5), (4, 4, 2), (4, 4, 3), (4, 4, 4), (4, 4, 5), (4, 5, 2), (4, 5, 3), (4, 5, 4), (4, 5, 5), (5, 2, 2), (5, 2, 3), (5, 2, 4), (5, 2, 5), (5, 3, 2), (5, 3, 3), (5, 3, 4), (5, 3, 5), (5, 4, 2), (5, 4, 3), (5, 4, 4), (5, 4, 5), (5, 5, 2), (5, 5, 3), (5, 5, 4), (5, 5, 5)]
Traceback (most recent call last):
File "main.py", line 258, in
main(args)
File "main.py", line 40, in main
test_model()
File "main.py", line 47, in test_model
unified_test(model_url, config)
File "unified_test.py", line 40, in unified_test
nmodel = nnModel(url, config)
File "model_loader.py", line 16, in init
self._model = self._load_model(url)
File "model_loader.py", line 33, in _load_model
actor_critic.load_state_dict(load_dict)
File "/home/vlad/anaconda3/envs/3D-BPP-DRL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 777, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Policy:
size mismatch for base.mask.5.weight: copying a param with shape torch.Size([100, 256]) from checkpoint, the shape in current model is torch.Size([200, 256]).
size mismatch for base.mask.5.bias: copying a param with shape torch.Size([100]) from checkpoint, the shape in current model is torch.Size([200]).
size mismatch for dist.linear.weight: copying a param with shape torch.Size([100, 256]) from checkpoint, the shape in current model is torch.Size([200, 256]).
size mismatch for dist.linear.bias: copying a param with shape torch.Size([100]) from checkpoint, the shape in current model is torch.Size([200]).

If I disable rotations from terminal then everything works well. Please advise related to the subject.
Thank you

from online-3d-bpp-drl.

Related Issues (19)

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.