Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

You may need to update for NVIDIA driver.

FYI, the required NVIDIA driver: https://docs.nvidia.com/deploy/cuda-compatibility/index.html

...

Code Block
languagepy
# Make yaml file.
$ vi environment-gpu.yml
name: deep-learning-with-pythonkaras-study

dependencies:
  - python=3.7
  - scikit-learn
  - scipy
  - numpy
  - matplotlib
  - ipython
  - jupyter
  - pillow
  - opencv
  - graphviz
  - cython
  - pip:
      - tensorflow-gpu==1.15
      - keras==2.2.4
      - pydot-ng

# Create conda env
$ conda env create -f environment-gpu.yml

# Enter deep-learning-with-pythonkaras-study env
$ conda activate deep-learning-with-pythonkaras-study
Note

If not able to activate a certain conda env, add this instruction into .bashrc

. ~/Miniconda3/etc/profile.d/conda.sh

...