Comments (5)
Weird! This seems to be caused somewhere deep in Tensorflow. What version are you using?
The code works fine on my MacBook Pro, Tensorflow '0.10.0rc0' and Python '3.4.4'
from tf_unet.
Hi Jakeret, this is the version information I am using:
python -c 'import tensorflow as tf; print(tf.version)'
0.8.0
import sys
print(sys.version)
3.4.4 (default, May 19 2016, 07:45:08)
[GCC 5.3.0]
from tf_unet.
Hi Jacket, it looks to me that this line of code gradients = sess.run((self.optimizer, self.net.cost, self.learning_rate_node, self.net.gradients_node), feed_dict={self.net.x: batch_x,self.net.y: util.crop_to_shape(batch_y,pred_shape), self.net.keep_prob: dropout})
does not work for the version before 0.10. I changed it to _,loss,lr,gradients = sess.run([self.optimizer, self.net.cost, self.learning_rate_node]+self.net.gradients_node,feed_dict={self.net.x: batch_x,self.net.y: util.crop_to_shape(batch_y, pred_shape),self.net.keep_prob: dropout})
, but it right now gives the error message such as ValueError: too many values to unpack (expected 4)
Just curious, are there any approaches to solve this problem without upgrading to the version you are using. Thank you very much.
from tf_unet.
Sorry I'm traveling at the moment. However, I don't have any experience
with Tensorflow < 0.9.0. So I don't know if it's runnable with your version
On Oct 14, 2016 4:32 AM, "wenouyang" [email protected] wrote:
Hi Jacket, it looks to me that this line of code gradients =
sess.run((self.optimizer, self.net.cost, self.learning_rate_node,
self.net.gradients_node), feed_dict={self.net.x: batch_x,self.net.y:
util.crop_to_shape(batch_y,pred_shape), self.net.keep_prob: dropout})
does not work for the version before 0.10. I changed it to _,loss,lr,gradients
= sess.run([self.optimizer, self.net.cost, self.learning_rate_node]+self.
net.gradients_node,feed_dict={self.net.x: batch_x,self.net.y:
util.crop_to_shape(batch_y, pred_shape),self.net.keep_prob: dropout})
, but it right now gives the error message such as ValueError: too many
values to unpack (expected 4)Just curious, are there any approaches to solve this problem without
upgrading to the version you are using. Thank you very much.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALSFvwwnKkg2Vq_Irj6ZTR9fNTQ0T7Xwks5qzpVagaJpZM4KKjR_
.
from tf_unet.
Thank you, with some help, I got this figured out.
from tf_unet.
Related Issues (20)
- How to use nii.gz image format in my own dataset?
- Cannot access the folder of checkpoints to predict.
- 2 class segmentation prediction values don't range from [0, 1] HOT 1
- converting to ONNX, need names of input and output nodes. HOT 1
- black screen regarding the predictor for demo_toy_problem Notebook HOT 1
- how i can use method "evaluate", to get a accuracy and precision of the neural network ? HOT 1
- Why my .meta file is growing bigger while training? HOT 1
- How to train data HOT 1
- Training Accuracy is always 1.00 and the Minibatch error is always 0.0% HOT 3
- what is the difference between jaccard similarity and Intersection over union ?
- how to detect galaxies and star in wide field imaging data. HOT 2
- Issues with import: Colab HOT 1
- How to get the requirement.txt? HOT 1
- Could you share your data set?
- TypeError: Fetch argument None has invalid type <class 'NoneType'>
- TypeError: Fetch argument None has invalid type <class 'NoneType'>
- TypeError: Fetch argument None has invalid type <class 'NoneType'> HOT 1
- ConcatOp error when changing layer_depth=3 to a larger value in circle demo. HOT 1
- UnsupportedPluginTypeException: Coordinate frame barycentricmeanecliptic not in allowed values
- Install tf_unet
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 tf_unet.