*install virtualbox
-+-
-+-
* install docker-machine
...
...
*docker-machine
...
...
*install virtualbox
-+-
-+-
* install docker-machine
...
...
*docker-machine
...
...
refer to code:
..
..
Thank you!
๐๐ป♂️
import numpy as np
run this command
>jupyter nbconvert your_notebook_name.ipynb --to python
thank you.
Their syntax varies slightly, but they are equivalent:
⠀ |
.to(name) |
.to(device) |
.cuda() |
CPU |
to('cpu') |
to(torch.device('cpu')) |
cpu() |
Current GPU |
to('cuda') |
to(torch.device('cuda')) |
cuda() |
Specific GPU |
to('cuda:1') |
to(torch.device('cuda:1')) |
cuda(device=1) |
Note: the current cuda device is 0 by default, but this can be set with torch.cuda.set_device().
Refer to code ^^
..
..
Thank you.
www.marearts.com
look at the code! ^^
..
..
Thank you.
It's useful to save hyper parameter for machine learning
import argparse
paser = argparse.ArgumentParser()
args = paser.parse_args("")
args.batch_size=10
args.epoch=10
Thank you.
try to kill the server which you want access and try to access again
ex)
www.xxx.yy/aaa/ping
www.xxx.yy/bbb/ping
Those urls will go to /ping proxy.
refer to follow code
--
--
Thank you.
www.marearts.com