Giter Club home page Giter Club logo

Comments (2)

Sravani-Kalangi avatar Sravani-Kalangi commented on September 15, 2024

check in your directory of how the file has been saved, for example in mine it has been saved as model-spatial-CNN-21x21.ckpt-3999 when i had patch size=21.

from hyperspectral.

Linkersem avatar Linkersem commented on September 15, 2024

i have another question while running "CNN_feed.py“. when i set the patch size =7,it shows this:

File "C:\Users\Administrator\Desktop\test\CNN_G.py", line 257, in
run_training()
File "C:\Users\Administrator\Desktop\test\CNN_G.py", line 166, in run_training
loss = IndianPinesCNN.loss(logits, labels_placeholder)
File "C:\Users\Administrator\Desktop\test\IndianPinesCNN.py", line 135, in loss
labels=labels, logits=logits, name='xentropy')
File "E:\python3.5\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 2653, in sparse_softmax_cross_entropy_with_logits
logits.get_shape()))
ValueError: Shape mismatch: The shape of labels (received (100,)) should equal the shape of logits except for the last dimension (received (400, 16))

from hyperspectral.

Related Issues (18)

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.