Comments (2)
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.
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)
- Need Help HOT 3
- Unable to complete IndianPines_DataSet_Preparation_Without_Augmentation HOT 1
- IN_PATCH Unable to complete IndianPines_DataSet_Preparation_Without_Augmentation HOT 1
- UnrecognizedFlagError: Unknown command line flag 'f' HOT 3
- add samples
- Fail to run Decoder_Spatial_MLP.ipynb
- "ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments" encountered in the training loop HOT 3
- TypeError: 'float' object cannot be interpreted as an integer HOT 1
- 您好,在运行CNN-feed.py这个代码时遇到了问题,恳请获得帮助。
- ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)
- Unable to complete ipynb notebook due to error HOT 1
- which version of tensorflow is used?
- Published paper/ comments on results HOT 1
- datasets HOT 2
- Error in the 'Conv2D' op in IndianPinesCNN class HOT 12
- ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...) HOT 1
- padding issue in IndianPines_DataSet_Preparation_Without_Augmentation.ipynb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperspectral.