Skip to content
Snippets Groups Projects
Commit 2de86895 authored by EXT Soraya Arias's avatar EXT Soraya Arias
Browse files

Add pytorch packages and update fidle env test

parent 512a59ed
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## ##
import tensorflow as tf import tensorflow as tf
import torch
import sys, os import sys, os
# Check data set is found # Check data set is found
...@@ -16,5 +17,12 @@ print("FIDLE_DATASETS_DIR = ", os.path.expanduser(datasets_dir)) ...@@ -16,5 +17,12 @@ print("FIDLE_DATASETS_DIR = ", os.path.expanduser(datasets_dir))
print("Python version = {}.{}".format(sys.version_info[0], sys.version_info[1])) print("Python version = {}.{}".format(sys.version_info[0], sys.version_info[1]))
# Check tensorflow version # Check tensorflow version
print("Tensorflow version = ", tf.__version__) print("Tensorflow version = ", tf.__version__)
# Obsolete command
#print("Tensorflow GPU/CUDA available = ", tf.test.is_gpu_available())
print("Tensorflow GPU/CUDA available = ", "true" if len(tf.config.list_physical_devices('GPU')) else "False")
# Chech Pytorch version
print("Pytorch version = ", torch.__version__)
print("Pytorch GPU/CUDA available = ", torch.cuda.is_available())
sys.exit(0) sys.exit(0)
...@@ -5,4 +5,7 @@ Matplotlib ...@@ -5,4 +5,7 @@ Matplotlib
Pandas Pandas
Pandoc Pandoc
pyyaml pyyaml
torch
torchvision
torchaudio
Jupyterlab Jupyterlab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment