-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsomething.txt
53 lines (28 loc) · 1.33 KB
/
something.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
qstat -f 230581.master
qstat -u ttang001
ssh ttang001@hpc1.ntnu.edu.tw
tosha20011012
scp -r ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject/generated .
scp -r ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject/train_linux.py .
scp -r ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject/train_0814.sh .
scp -r ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject/log_1006_2213_2 .
----
工作目錄
cd /lustre/lwork/ttang001/myproject
-----載入需要的軟體
[ttang001@login2 ttang001]$ module load python-3.12.3
----venv開關
[ttang001@login2 myproject]$ source venv/bin/activate
(venv) [ttang001@login2 myproject]$ deactivate
-----上傳下載檔案
scp -r train_linux.py ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject
scp -r train.sh ttang001@hpc1.ntnu.edu.tw:/lustre/lwork/ttang001/myproject
scp -r ttang001@140.122.249.218:/lustre/lwork/ttang001/myproject/generated C:\Users\Tosha.E.T\Documents\GitHub\DolphinSkull
----虛擬環境設置(為了裝套件)
[ttang001@login2 ttang001]$ mkdir myproject
[ttang001@login2 ttang001]$ cd myproject
[ttang001@login2 myproject]$ python3 -m venv venv
----安裝套件
pip install IPython --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org
numpy opencv-python keras tensorflow matplotlib IPython
--upgrade pip