Traceback (most recent call last):


 "/home/pingjun/anaconda3/lib/python3.6/site-packages/gpytorch/module.py", line 291, in __getattr__

return super().__getattribute__(name)
AttributeError: 'VariationalStrategy' object has no attribute 'size'

Traceback (most recent call last):


 "/media/lc/软件/zh/models-master/research/deeplab/datasets/build_voc2012_data.py", line 146, in <module>

tf.compat.v1.app.run()


 "/home/lc/anaconda3/envs/deeplab/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run

_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)


 "/home/lc/anaconda3/envs/deeplab/lib/python3.6/site-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/home/lc/anaconda3/envs/deeplab/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "/media/lc/软件/zh/models-master/research/deeplab/datasets/build_voc2012_data.py", line 140, in main

dataset_splits = tf.io.gfile.Glob(os.path.join(FLAGS.list_folder, '*.txt'))


 "/home/lc/anaconda3/envs/deeplab/lib/python3.6/site-packages/tensorflow/python/util/deprecation_wrapper.py", line 106, in __getattr__

attr = getattr(self._dw_wrapped_module, name)
AttributeError: module 'tensorflow._api.v1.io.gfile' has no attribute 'Glob'
