0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

StyleGAN環境構築

Last updated at Posted at 2021-08-14

まずはとにかく動かしたい!そんな方に成功した互換性をご共有します。

#※デモデータ
現在アクセス制限でダウンロードできず1日待ち?中ですので次回他にも試してます!
URL : https://drive.google.com/uc?id=1MEGjdvVpUsu1jB4zrXZN7Y4kBBOzizDQ

Tensorflow Ver.

今回はVer2.2.0を利用しますのでエラーの都度styleGAN側のメソッド名を更新します。

例えば"variable_scope"がない際、

err.msg. AttributeError: module 'tensorflow' has no attribute 'variable_scope'

と表示されますので該当ラインにて、このように書き換えます。

前) tf.variable_scope
後) tf.compat.v1.variable_scope

最後に下記に今回が成功した互換性のリストです。
皆様もぜひお試しください!

#互換性リスト

OS : windows 10 (GPUなし)
Python 3.6.13 : Anaconda, Inc. (anaconda環境)

pip list (以下参照)
absl-py                0.13.0
astor                  0.8.1
astunparse             1.6.3
cached-property        1.5.2
cachetools             4.2.2
certifi                2021.5.30
charset-normalizer     2.0.4
colorama               0.4.4
dataclasses            0.8
gast                   0.3.3
google-auth            1.34.0
google-auth-oauthlib   0.4.5
google-pasta           0.2.0
grpcio                 1.39.0
h5py                   2.10.0
idna                   3.2
importlib-metadata     4.6.4
Keras                  2.4.3
Keras-Applications     1.0.8
Keras-Preprocessing    1.1.2
Markdown               3.3.4
numpy                  1.19.5
oauthlib               3.1.1
opt-einsum             3.3.0
Pillow                 8.3.1
pip                    21.2.2
protobuf               3.17.3
pyasn1                 0.4.8
pyasn1-modules         0.2.8
PyYAML                 5.4.1
requests               2.26.0
requests-oauthlib      1.3.0
rsa                    4.7.2
scipy                  1.4.1
setuptools             52.0.0.post20210125
six                    1.16.0
tensorboard            2.2.2
tensorboard-plugin-wit 1.8.0
tensorflow             2.2.0
tensorflow-estimator   2.2.0
termcolor              1.1.0
tqdm                   4.62.0
typing-extensions      3.10.0.0
urllib3                1.26.6
Werkzeug               2.0.1
wheel                  0.37.0
wincertstore           0.2
wrapt                  1.12.1
zipp                   3.5.0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?