Однако при запуске сценария import_example.py я получаю следующую ошибку.
Код: Выделить всё
Traceback (most recent call last):
File "import_example.py", line 17, in
G, D, Gs = pickle.load(file)
File "/data01/home/scy0271/run/undergrad/Thorax_GAN-master/ProGAN_v2/tfutil.py", line 572, in __setstate__
self._init_graph()
File "/data01/home/scy0271/run/undergrad/Thorax_GAN-master/ProGAN_v2/tfutil.py", line 477, in _init_graph
out_expr = self._build_func(*self.input_templates, is_template_graph=True, **self.static_kwargs)
File "", line 179, in G_paper
AttributeError: module 'tensorflow' has no attribute 'get_variable'
Может кто-нибудь сказать мне, что я делаю не так?
Подробнее здесь: https://stackoverflow.com/questions/759 ... en-there-i