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
mnist_cnn in keras ON AWS
最新推荐文章于 2022-05-17 16:13:52 发布
本文详细介绍如何在AWS上设置工作环境,包括激活TensorFlow、Keras等深度学习环境,使用scp命令上传.py文件到AWS实例,以及在AWS上运行第一个Hello World程序,采用MNIST数据集进行演示。
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
TensorFlow-v2.15
TensorFlow
TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型
2842

被折叠的 条评论
为什么被折叠?



