Platform as a Service for Deep Learning
sudo pip install -U floyd-cli
May be needed (AWS Cloud9):
sudo pip install -U pip
sudo apt update
sudo apt install python-dev
init project:
floyd login
mkdir cifar
floyd init cifar
Command:
floyd run "ls"
floyd logs efcic/projects/cifar/1
Output:
################################################################################
2017-12-22 04:23:50,941 INFO - Run Output:
2017-12-22 04:23:51,281 INFO - /code
2017-12-22 04:23:51,330 INFO -
################################################################################
Output to File:
floyd run "ls > /output/stdout"
floyd data clone efcic/projects/cifar/1/output
Dataset
floyd data init nasnet-large
floyd data upload
... urllib3
... InsecurePlatformWarning
Error, Fix:
sudo pip install urllib3[secure]
Mount https://www.floydhub.com/efcic/datasets/nasnet-large to /models
floyd run --data efcic/datasets/nasnet-large/2:models 'bash run.sh'
Ref:
Command:
floyd run 'python cifar.py'
Default env:
Pulling Docker image: floydhub/tensorflow:1.1.0-py3_aws.7
Select env:
floyd run --env tensorflow-1.4:py2 "bash run.sh"
Error:
ImportError: No module named 'tensorflow.python.keras'
Fix:
floyd run --env tensorflow-1.4 "python cifar.py"