Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'

Traceback (most recent call last):


 "./generate_text.py", line 47, in <module>

out = sample_sequence(tokens, num_samples=num_samples)


 "./generate_text.py", line 27, in sample_sequence

outputs = model(inputs)


 "/Users/Riccardo/development/ideal/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/base_layer.py", line 891, in __call__

outputs = self.call(cast_inputs, *args, **kwargs)


 "/Users/Riccardo/development/ideal/lib/python3.7/site-packages/transformers/modeling_tf_gpt2.py", line 490, in call

transformer_outputs = self.transformer(inputs, **kwargs)


 "/Users/Riccardo/development/ideal/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/base_layer.py", line 891, in __call__

outputs = self.call(cast_inputs, *args, **kwargs)


 "/Users/Riccardo/development/ideal/lib/python3.7/site-packages/transformers/modeling_tf_gpt2.py", line 257, in call

position_ids = tf.range(past_length, shape_list(input_ids)[-1] + past_length, dtype=tf.int32)[tf.newaxis, :]


 "/Users/Riccardo/development/ideal/lib/python3.7/site-packages/transformers/modeling_tf_utils.py", line 475, in shape_list

static = x.shape.as_list()
AttributeError: 'TensorSliceDataset' object has no attribute 'shape'
