Login
Remember
Register
All Courses
Ask a Question
Questions
Unanswered
Ask a Question
Blog
Tutorials
Interview Questions
Back
Login
Explore Courses
Blog
Tutorials
Interview Questions
community
Python
Question:module 'tensorflow' has no attribute...
Question:module 'tensorflow' has no attribute 'to_int32'
Question:module 'tensorflow' has no attribute 'to_int32'
0
votes
2
views
asked
Jan 6, 2021
in
Python
by
pr.tarighat
(
120
points)
I run a code in python,
def Mean_IOU_Evaluator(y_true, y_pred):
prec = []
for t in np.arange(0.5, 1, 0.05):
y_pred_ = tf.to_int32(y_pred>t)
y_pred=tf.dtypes
This error is appeard:
module 'tensorflow' has no attribute 'to_int32'
How can I solve it?
python
Please
log in
to add a comment.
Please
log in
to answer this question.
0
Answers
Related questions
0
votes
1
answer
AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
asked
Nov 21, 2020
in
Python
by
sabarish
(
200
points)
data-science
python
tensorflow
keras
keras-layer
0
votes
1
answer
Tensorflow 2.0 - AttributeError: module 'tensorflow' has no attribute 'Session'
asked
May 30, 2020
in
Data Science
by
blackindya
(
18.4k
points)
data-science
python
0
votes
1
answer
module 'tensorflow.contrib.learn' has no attribute 'python'
asked
Jul 20, 2019
in
Data Science
by
sourav
(
17.6k
points)
python
data-science
tensorflow
0
votes
1
answer
AttributeError: 'module' object has no attribute
asked
Oct 15, 2019
in
Python
by
Sammy
(
47.6k
points)
python
0
votes
1
answer
Module 'pandas' has no attribute 'scatter_matrix'
asked
May 28, 2020
in
Data Science
by
supriya
(
36.8k
points)
data-science
python
Welcome to Intellipaat Community. Get your technical queries answered by top developers!
30.9k
questions
32.9k
answers
500
comments
665
users
All categories
Python
(3.4k)
Java
(2.3k)
SQL
(1.6k)
Linux
(374)
Big Data Hadoop & Spark
(1.3k)
Data Science
(3.3k)
R Programming
(871)
C Programming
(34)
DevOps and Agile
(3k)
Docker
(55)
AI and Deep Learning
(1.4k)
Machine Learning
(1.2k)
AWS
(2.5k)
Azure
(1.6k)
GCP
(226)
RPA
(626)
Selenium
(205)
Software Testing
(58)
Blockchain
(428)
Salesforce
(822)
Others
(582)
BI
(1.9k)
IoT
(24)
Web Technology
(1.5k)
Cyber Security
(358)
Digital Marketing
(327)
Technology Trends
(108)
SEO
(105)
Informatica
(22)
UI UX
(152)
Electric Vehicle
(24)
Investment Banking
(56)
Supply Chain Management
(30)
...