problem input_func=tf.estimator.inputs.pandas_input_fn ( x=X_train , y=y_train , batch_size= 100 , num_epochs= None , shuffle= True ) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-20-05296931bd4c> in <module> () ----> 1 input_func = tf . estimator . inputs . pandas_input_fn ( x = X_train , y = y_train , batch_size = 100 , num_epochs = None , shuffle = True ) AttributeError: module 'tensorflow_estimator.python.estimator.api._v2.estimator' has no attribute 'inputs' solution input_func=tf.compat.v1.estimator.inputs.pandas_input_fn ( x=X_train , y=y_train , batch_siz e= 100 , num_epochs= None , shuffle= True )
Comments
Post a Comment