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 18:49] – gnann | tutoriais:conda [2024-04-16 19:33] (current) – [Torch] gnann | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Tensorflow ===== | ===== Tensorflow ===== | ||
<code bash> | <code bash> | ||
- | # python=3.9 | + | # DISCLAIMER: versão 2.4 ! |
- | conda install tensorflow-gpu | + | conda install tensorflow-gpu |
+ | </ | ||
+ | |||
+ | <code python> | ||
+ | import tensorflow as tf | ||
+ | cuda_version = tf.sysconfig.get_build_info()[" | ||
+ | gpu = tf.test.gpu_device_name() | ||
+ | |||
+ | print(" | ||
+ | print(" | ||
</ | </ | ||
Line 32: | Line 41: | ||
<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.1713304159.txt.gz · Last modified: 2024-04-16 18:49 by gnann