Git Product home page Git Product logo

Comments (6)

junting avatar junting commented on June 15, 2024 1

Hi @wangxiao5791509 ,

Sorry, the key for the discriminator was wrong, please try this:
load_weights(net=model.discriminator['prob'], path="test/discrim_", epochtoload=90)

from salgan.

wangxiao5791509 avatar wangxiao5791509 commented on June 15, 2024

@junting Thanks your kind replay. But still get wrong, the same problem: mismatched. Does it caused by input image size ? I keep it the same as yours, but still can not run smoothly ...

Traceback (most recent call last):
File "wangxiao-02-train.py", line 187, in
train()
File "wangxiao-02-train.py", line 169, in train
load_weights(net=model.discriminator['prob'], path="./discrim_", epochtoload=90)
File "/media/wangxiao/724eaeef-e688-4b09-9cc9-dfaca44079b2/saliency-salgan-2017-master-tracking/scripts/utils.py", line 24, in load_weights
lasagne.layers.set_all_param_values(net, param_values)
File "/home/wangxiao/Lasagne/src/lasagne/lasagne/layers/helper.py", line 518, in set_all_param_values
(p.get_value().shape, v.shape))
ValueError: mismatch: parameter has shape (12288, 100) but value to set has shape (12288, 60)

from salgan.

remega avatar remega commented on June 15, 2024

Hi, guys. I met the same problem. Have you solved it? Looking forward to your reply!

from salgan.

remega avatar remega commented on June 15, 2024

I mean, ValueError: mismatch: parameter has shape (12288, 100) but value to set has shape (12288, 60)

from salgan.

DuanHuiyu avatar DuanHuiyu commented on June 15, 2024

The same problem "ValueError: mismatch: parameter has shape (12288, 100) but value to set has shape (12288, 60)".

Can anyone help with this?

from salgan.

Saloqin avatar Saloqin commented on June 15, 2024

+1
ValueError: mismatch: parameter has shape (12288, 100) but value to set has shape (12288, 60)
anyone knows whats going on?

from salgan.

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.