mnist_cnn in keras ON AWS

本文详细介绍如何在AWS上设置工作环境,包括激活TensorFlow、Keras等深度学习环境,使用scp命令上传.py文件到AWS实例,以及在AWS上运行第一个Hello World程序,采用MNIST数据集进行演示。
部署运行你感兴趣的模型镜像

WHAT WE WILL TALK ABOUT
1.how to setup your working envirement.
2.how to transfer your .py file to the AWS
3.do “hello world” on the AWS
the AMI of ami-084820056c48a24a1 have a user named ec2-user and when you first logon it you will see many .sh file you can use source activate …to setup your envirement eg. “source activate tensorflow_p36” and you can activate the envirement that for tensorflow Keras2 python3.6 CUDA9.0 and MKL-DNN.ofcourse you can activate others .
TO transfer your .py file to the CAKE you need to use “scp” and the format is this scp -i “yourpublickey” /where/and/what/you/want/to/transfer ec2-user@whereyourcake:/where/to/save/the/file/on/ASW
of course you can type it in a local teminal
Do the “hello world” work in ML and DL .we prefer mnist to do this and you can find in/your/Keras/example/ there is mnist_cnn.py scp it to your ASW and python mnist_cnn.py
congratuation your fist work on AWS is done .by the way the spot instance is soooo cheap! i think you can try it

您可能感兴趣的与本文相关的镜像

TensorFlow-v2.15

TensorFlow-v2.15

TensorFlow

TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值