tutoriais:conda
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutoriais:conda [2024-04-16 19:01] – [Tensorflow] gnann | tutoriais:conda [2024-04-16 19:33] (current) – [Torch] gnann | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| </ | </ | ||
| + | ===== Tensorflow ===== | ||
| + | <code bash> | ||
| + | # DISCLAIMER: versão 2.4 ! | ||
| + | conda install tensorflow-gpu numpy=1.23 | ||
| + | </ | ||
| + | |||
| + | <code python> | ||
| import tensorflow as tf | import tensorflow as tf | ||
| cuda_version = tf.sysconfig.get_build_info()[" | cuda_version = tf.sysconfig.get_build_info()[" | ||
| Line 29: | Line 36: | ||
| print(" | print(" | ||
| print(" | print(" | ||
| + | </ | ||
| ===== Torch ===== | ===== Torch ===== | ||
| <code bash> | <code bash> | ||
| # python do sistema | # python do sistema | ||
| - | conda install pytorch-gpu | + | conda install |
| </ | </ | ||
| + | |||
| + | <code python> | ||
| + | import torch | ||
| + | |||
| + | print(" | ||
| + | print(" | ||
| + | </ | ||
| + | |||
| + | https:// | ||
tutoriais/conda.1713304872.txt.gz · Last modified: by gnann
