# 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'
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'