Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Tensors in list passed to 'values' of 'Pack' Op have types [int32, int32, int32, float32] that don't all match. #3

Open
crankson123 opened this issue Aug 8, 2018 · 5 comments

Comments

@crankson123
Copy link

When I conduct the code, there exist some errors about 'TypeError: Tensors in list passed to 'values' of 'Pack' Op have types [int32, int32, int32, float32] that don't all match.'. I use Python 3.5, so how can I solve this issue, hoping that you can help me.

@je-santos
Copy link

je-santos commented Oct 2, 2018

I'm on the same boat. It might be that we are using python 3 :/

@loliverhennigh
Copy link
Owner

That is correct, I was doing a division and I was expecting an int but it gave a float because of python 3. I just updated this and it should work now. I just tested it with 3.6.

@je-santos
Copy link

Thanks a lot Oliver! I'll give it a shot.

@je-santos
Copy link

Hey Oliver, while testing the code I got the following error:

_File "C:\Users\ME\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\errors_impl.py", line 526, in exit
c_api.TF_GetCode(self.status.status))

NotFoundError: Failed to create a directory: ../checkpoints/min_queue_examples_1000/model_res/nr_res_blocks_1/gated_res_True/nonlinearity_concat_elu/batch_size_8/max_steps_500000/keep_prob_0.7; No such file or directory_

Do you know what might be causing this?

@xycim
Copy link

xycim commented Dec 25, 2018

@je-santos Hi,do you know how to save this problem
"NotFoundError: Failed to create a directory: ../checkpoints/min_queue_examples_1000/model_res/nr_res_blocks_1/gated_res_True/nonlinearity_concat_elu/batch_size_8/max_steps_500000/keep_prob_0.7; No such file or directory_"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants