Okay, and what is your question about this error message? Did you read the error message? Did you understand it?
- Karl Knechtel
its ambiguous. line 18/19 in the code URL above
- user2027502
I don't understand. What do you find ambiguous about it? It says ` 'str' object has no attribute 'reshape'. Is there more than one 'str' object` you think it could be talking about? More than one attribute 'reshape'? More than one way to have no such attribute?
- Karl Knechtel
the line is ambigous. the inputs come from the MNIST dataset. when you debug and hover it shows an image. when this code hits it what converted it to a STR?
- user2027502
1 Answers
0
votes
Please can you add a code block where you are using it.
Also, I believe you are passing the wrong parameters while calling this function, by mistake I think you are passing a string as argument
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
. Is there more than one'str' object` you think it could be talking about? More than oneattribute 'reshape'? More than one way tohave nosuch attribute? - Karl Knechtel