Level : WORDPRESS BOOK LINKEDIN PATENT Send Mail 동냥하기 hajunho.com

반응형

NVIDIA의 GANimation은 특정 가격이 붙은 상업적 제품이 아니라, NVIDIA 깊은 학습 (Deep Learning) 연구의 일환으로 전 세계에 공개된 연구 프로젝트입니다. 이 연구는 얼굴 애니메이션을 생성하는 데 사용되는 Generative Adversarial Networks (GANs) 기술을 이용한 예제 중 하나입니다. GANimation은 주로 연구 및 개발 환경에서 사용되며, 대부분의 경우 직접 구매하거나 라이센스를 필요로 하는 상용 소프트웨어가 아닙니다.

대부분의 NVIDIA 연구 프로젝트는 오픈 소스로 제공되며, 이에 대한 코드는 GitHub와 같은 플랫폼에서 자유롭게 접근할 수 있습니다. GANimation의 경우도 그 예입니다. 사용자는 코드와 모델을 다운로드하고 NVIDIA 연구 논문을 참조하여 자체 프로젝트에 활용할 수 있습니다.

그러나 GANIMATION을 상용 솔루션이나 실제 영화 제작에 적용하려면 상당한 기술적 전문성과 고성능 하드웨어가 필요합니다. 또한, NVIDIA의 딥러닝 제품군(예: GPU 하드웨어, NVIDIA CUDA, TensorRT 등)을 사용해야 할 수도 있습니다.

### 관련 리소스:
1. **NVIDIA Research 페이지**: NVIDIA의 다양한 AI 및 딥러닝 연구를 확인할 수 있는 공식 페이지입니다.
2. **GitHub**: NVIDIA 연구의 소스 코드를 찾을 수 있습니다.
3. **NVIDIA Developer**: NVIDIA의 개발자 지원 페이지로, 다양한 라이브러리와 SDK를 제공합니다.

이 외에도 딥러닝 및 GAN 관련 프로젝트를 수행하려면 고성능 GPU가 필요할 수 있으며, 이와 관련된 비용은 NVIDIA의 GPU 하드웨어 구매에 포함됩니다. GPU의 가격은 모델에 따라 다르며, 최신 모델일수록 가격이 높습니다.

GANimation 자체는 무료로 사용할 수 있지만, 이를 효과적으로 활용하기 위해 필요한 하드웨어와 소프트웨어 환경은 추가 비용이 발생할 수 있습니다.

 


tensorflow 2.2 installation

pip install tensorflow-gpu==2.2

Collecting tensorflow-gpu==2.2

  Using cached tensorflow_gpu-2.2.0-cp37-cp37m-win_amd64.whl (460.4 MB)

Requirement already satisfied: keras-preprocessing>=1.1.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.1.0)

Requirement already satisfied: protobuf>=3.8.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (3.12.3)

Requirement already satisfied: opt-einsum>=2.3.2 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (3.1.0)

Collecting tensorflow-gpu-estimator<2.3.0,>=2.2.0

  Using cached tensorflow_gpu_estimator-2.2.0-py2.py3-none-any.whl (470 kB)

Requirement already satisfied: termcolor>=1.1.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.1.0)

Collecting gast==0.3.3

  Using cached gast-0.3.3-py2.py3-none-any.whl (9.7 kB)

Requirement already satisfied: wrapt>=1.11.1 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.12.1)

Requirement already satisfied: six>=1.12.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.15.0)

Collecting scipy==1.4.1; python_version >= "3"

  Using cached scipy-1.4.1-cp37-cp37m-win_amd64.whl (30.9 MB)

Requirement already satisfied: tensorboard<2.3.0,>=2.2.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (2.2.1)

Requirement already satisfied: wheel>=0.26; python_version >= "3" in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.34.2)

Requirement already satisfied: absl-py>=0.7.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.9.0)

Requirement already satisfied: numpy<2.0,>=1.16.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.18.5)

Requirement already satisfied: h5py<2.11.0,>=2.10.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (2.10.0)

Requirement already satisfied: grpcio>=1.8.6 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.27.2)

Collecting astunparse==1.6.3

  Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)

Requirement already satisfied: google-pasta>=0.1.8 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.2.0)

Requirement already satisfied: setuptools in j:\anaconda3\lib\site-packages (from protobuf>=3.8.0->tensorflow-gpu==2.2) (47.3.1.post20200622)

Requirement already satisfied: google-auth<2,>=1.6.3 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.14.1)

Requirement already satisfied: markdown>=2.6.8 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.1.1)

Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.6.0)

Requirement already satisfied: requests<3,>=2.21.0 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2.24.0)

Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.4.1)

Requirement already satisfied: werkzeug>=0.11.15 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.16.0)

Requirement already satisfied: cachetools<5.0,>=2.0.0 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (4.1.0)

Requirement already satisfied: pyasn1-modules>=0.2.1 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.2.7)

Requirement already satisfied: rsa<4.1,>=3.1.4 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (4.0)

Requirement already satisfied: certifi>=2017.4.17 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2020.6.20)

Requirement already satisfied: chardet<4,>=3.0.2 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.0.4)

Requirement already satisfied: idna<3,>=2.5 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2.10)

Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.25.9)

Requirement already satisfied: requests-oauthlib>=0.7.0 in j:\anaconda3\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.3.0)

Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in j:\anaconda3\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.4.8)

Requirement already satisfied: oauthlib>=3.0.0 in j:\anaconda3\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.1.0)

ERROR: tensorflow 2.1.0 has requirement gast==0.2.2, but you'll have gast 0.3.3 which is incompatible.

ERROR: tensorflow 2.1.0 has requirement tensorboard<2.2.0,>=2.1.0, but you'll have tensorboard 2.2.1 which is incompatible.

Installing collected packages: tensorflow-gpu-estimator, gast, scipy, astunparse, tensorflow-gpu

  Attempting uninstall: gast

    Found existing installation: gast 0.2.2

    Uninstalling gast-0.2.2:

      Successfully uninstalled gast-0.2.2

  Attempting uninstall: scipy

    Found existing installation: scipy 1.5.0

    Uninstalling scipy-1.5.0:

      Successfully uninstalled scipy-1.5.0

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 액세스가 거부되었습니다: 'j:\\anaconda3\\lib\\site-packages\\~cipy\\fft\\_pocketfft\\pypocketfft.cp37-win_amd64.pyd'

Consider using the `--user` option or check the permissions.

 

 

J:\Anaconda3\python.exe O:\PyCharm\plugins\python\helpers\pydev\pydevconsole.py --mode=client --port=55041

import sys; print('Python %s on %s' % (sys.version, sys.platform))

sys.path.extend(['O:\\PycharmProjects\\test001', 'O:/PycharmProjects/test001'])

Python 3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)]

Type 'copyright', 'credits' or 'license' for more information

IPython 7.16.1 -- An enhanced Interactive Python. Type '?' for help.

PyDev console: using IPython 7.16.1

Python 3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] on win32

pip install tensorflow-gpu==2.2

Collecting tensorflow-gpu==2.2

  Using cached tensorflow_gpu-2.2.0-cp37-cp37m-win_amd64.whl (460.4 MB)

Requirement already satisfied: wheel>=0.26; python_version >= "3" in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.34.2)

Requirement already satisfied: gast==0.3.3 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.3.3)

Requirement already satisfied: wrapt>=1.11.1 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.12.1)

Requirement already satisfied: numpy<2.0,>=1.16.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.18.5)

Requirement already satisfied: protobuf>=3.8.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (3.12.3)

Requirement already satisfied: tensorflow-gpu-estimator<2.3.0,>=2.2.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (2.2.0)

Requirement already satisfied: keras-preprocessing>=1.1.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.1.0)

Collecting astunparse==1.6.3

  Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)

Requirement already satisfied: six>=1.12.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.15.0)

Requirement already satisfied: termcolor>=1.1.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.1.0)

Requirement already satisfied: h5py<2.11.0,>=2.10.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (2.10.0)

Requirement already satisfied: tensorboard<2.3.0,>=2.2.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (2.2.1)

Requirement already satisfied: scipy==1.4.1; python_version >= "3" in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.4.1)

Requirement already satisfied: opt-einsum>=2.3.2 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (3.1.0)

Requirement already satisfied: absl-py>=0.7.0 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.9.0)

Requirement already satisfied: google-pasta>=0.1.8 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (0.2.0)

Requirement already satisfied: grpcio>=1.8.6 in j:\anaconda3\lib\site-packages (from tensorflow-gpu==2.2) (1.27.2)

Requirement already satisfied: setuptools in j:\anaconda3\lib\site-packages (from protobuf>=3.8.0->tensorflow-gpu==2.2) (47.3.1.post20200622)

Requirement already satisfied: requests<3,>=2.21.0 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2.24.0)

Requirement already satisfied: google-auth<2,>=1.6.3 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.14.1)

Requirement already satisfied: werkzeug>=0.11.15 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.16.0)

Requirement already satisfied: markdown>=2.6.8 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.1.1)

Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.4.1)

Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in j:\anaconda3\lib\site-packages (from tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.6.0)

Requirement already satisfied: idna<3,>=2.5 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2.10)

Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.25.9)

Requirement already satisfied: chardet<4,>=3.0.2 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.0.4)

Requirement already satisfied: certifi>=2017.4.17 in j:\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (2020.6.20)

Requirement already satisfied: rsa<4.1,>=3.1.4 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (4.0)

Requirement already satisfied: pyasn1-modules>=0.2.1 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.2.7)

Requirement already satisfied: cachetools<5.0,>=2.0.0 in j:\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (4.1.0)

Requirement already satisfied: requests-oauthlib>=0.7.0 in j:\anaconda3\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (1.3.0)

Requirement already satisfied: pyasn1>=0.1.3 in j:\anaconda3\lib\site-packages (from rsa<4.1,>=3.1.4->google-auth<2,>=1.6.3->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (0.4.8)

Requirement already satisfied: oauthlib>=3.0.0 in j:\anaconda3\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.3.0,>=2.2.0->tensorflow-gpu==2.2) (3.1.0)

Installing collected packages: astunparse, tensorflow-gpu

Successfully installed astunparse-1.6.3 tensorflow-gpu-2.2.0

Note: you may need to restart the kernel to use updated packages.

import tensorflow as tf

2020-07-01 06:12:31.732542: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll

print(tf.__version__)

2.2.0

 

반응형
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기