mnist_cnn in keras ON AWS

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值