Open temberature opened 5 years ago
sh ec2-spotter/fast_ai/config_from_instance.sh --instance_id i-0b20ffec9753deb38
from IPython.lib import passwd
watch --color -n1 gpustat -cpu
conda create -n torch_p36 python=3.6 conda remove --name myenv --all conda info --envs
sh fast_ai/start_spot.sh
/home/ubuntu/torch/install/bin/luarocks install torch
su - ubuntu
qlua main.lua --style ../data/2.jpg --content ../data/1.png --style_factor
sudo cp -P include/cudnn.h /usr/local/cuda/include sudo cp -P lib64/libcudnn /usr/local/cuda/lib64 sudo chmod a+r /usr/local/cuda/lib64/libcudnn cd deep-photo-styletransfer sudo octave-cli pkg load image run('deep-photo-styletransfer/gen_laplacian/gen_laplacian.m')
apt-get install octave-image
nvidia-docker run --rm -it -p 8888:8888 --hostname faceswap-gpu --name faceswap-gpu -v /opt/faceswap:/srv deepfakes-gpu
python deep_photostyle.py --content_image_path ./examples/input/in11.png --style_image_path ./examples/style/tar11.png --content_seg_path ./examples/segmentation/in11.png --style_seg_path ./examples/segmentation/tar11.png --style_option 2
ssh -i "C:\Users\zhangbin05.ssh\tong" ubuntu@ec2-18-179-10-170.ap-northeast-1.compute.amazonaws.com
$ mkdir ssl $ cd ssl openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout "cert.key" -out "cert.pem" -batch cd ..
nohup jupyter notebook &
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=443 connectaddress=ec2-18-179-10-170.ap-northeast-1.compute.amazonaws.com connectport=8888