You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
Description:
Hey, guys:
I got something wrong about this, can anyone give me some suggestions?
This this the code:
%run run_classifier.py
AttributeError Traceback (most recent call last)
File ~\bert-gcn-for-paper-citation-master\run_classifier.py:30
26 import tensorflow.compat.v1 as tf
28 from utils import *
---> 30 flags = tf.flags
31 FLAGS = flags.FLAGS
33 ''' USE '''
AttributeError: module 'tensorflow' has no attribute 'flags'
Environment information:
OS: Windows 10 - 64bit
tensorflow 2.9.1
tensorflow-estimator 2.6.0
tensorflow-gpu 2.9.0
tensorflow-io-gcs-filesystem 0.28.0
Error logs:
AttributeError: module 'tensorflow' has no attribute 'flags'
The text was updated successfully, but these errors were encountered: