当前位置:网站首页>Server parameter adjustment record
Server parameter adjustment record
2022-06-11 07:06:00 【Boiled wine cos】
pycharm part
- weileiyi The lab's passwords and tutorials are on YuQue , You can check it by yourself , Genuine can be connected remotely
- The important thing is to make sure remote The environment is installed correctly
- If it involves drawing , The server cannot be displayed , But in pycharm Of run It can be displayed inside , therefore run The overall functionality of is more convenient than running directly from the command line
- however run Can be seen as the foreground , In many cases, the network is suddenly disconnected , The shutdown will automatically stop when an accident occurs , Therefore, it is not recommended to use long-running programs
- When someone copies a file to you , Be sure to delete .idea This file , Because all the files in this file are configured by others , Will conflict with your own
School server part
School server approval is simple , And it's easy to use , free , Powerful ,32G Memory V100 The graphics card
First introduce the page , Uploading files can be directly managed with data
Then start the console to run
About connecting pycharm
- Set the password on the server :sudo passwd/passwd user name
- Add a custom service to get ssh Connect
- You must restart to use ssh Connected services
- There is a small problem with synchronization on the server ? Anyway pycharm Adjustment shall prevail
Common server commands
- View graphics card :nvidia-smi
- Check the process :ps/top
- Kill process :kill -9 Process number
- Entry directory cd Delete directory rm -rf
- View all folders :ls -a
- Suspend process :nohup python main.py >train.log 2>&1 &
- Moving files :mv ( The graphical interface is more comfortable to move )
- Unzip the file :zip
Code section
file import
import sys
import os
curPath = os.path.abspath(os.path.dirname(__file__))
rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)
# Be sure to prefix the file name , Otherwise, it will still not be introduced
from util import util_freeze
shell Script
Pay attention to the following parameters , If config Not in the file , We must add , Otherwise it won't work , Call with sys.argv[2] that will do
array=(6hmCA 6hmCCEL 6hmCCEQ 6hmCD 6hmCF 6hmCH 6hmCR 6hmCS 6hmCTT 6hmCTO 6hmCX)
for((i=0;i<=1;i++));
do
for((j=0;j<=10;j++)) ;
do
nohup python main.py '-train-name' ${array[i]} '-test-name' ${array[j]} >"${array[i]}_${array[j]}.log" 2>&1 &
done
done
plot Save part
plt.savefig( Catalog ) Omit ....
边栏推荐
- Xunwei dry goods | Ruixin micro rk3568 development board TFTP & NFS writing (Part 1)
- Atom, the top stream editor, will leave the historical stage on December 15
- 【Matlab图像融合】粒子群优化自适应多光谱图像融合【含源码 004期】
- Biweekly investment and financial report: capital rush yuan universe game
- Cv2.rectangle() picture frame
- webserver
- Pytest自动化测试-简易入门教程(01)
- Start the Nacos server of shell script
- Menu double linkage effect in uniapp
- . Net C Foundation (6): namespace - scope with name
猜你喜欢

Shutter restraint container assembly

Starting from scratch (V) realize bullet positioning and animation

Deep Attentive Tracking via Reciprocative Learning

Analysis of key points and difficulties of ES6 promise source code

常用问题排查工具和分析神器,值得收藏

迅为干货 |瑞芯微RK3568开发板TFTP&NFS烧写(上)
![[deploy private warehouse based on harbor] 4 push image to harbor](/img/af/8e28b229d94f3e6eab02308b69dc74.jpg)
[deploy private warehouse based on harbor] 4 push image to harbor
![[deploy private warehouse based on harbor] 3 deploy harbor](/img/cd/be68a430e86b4b23ad93b42a338f00.jpg)
[deploy private warehouse based on harbor] 3 deploy harbor

Drawing with qpainter

Flutter Container组件
随机推荐
VTK-vtkPlane和vtkCutter使用
sql查询问题,只显示列名 不显示数据
Shuttle container component
SQL query. Only the column name is displayed but not the data
SQL language - query statement
[matlab WSN communication] a_ Star improved leach multi hop transmission protocol [including source code phase 487]
saltstack部署lnmp
Prototype and prototype chain
Matplotlib,设置坐标刻度大小,字体/设置图例大小及字体/设置纵横坐标名称及字体及大小
WPF 数据绑定(四)
[并发进阶]——线程池总结
【Matlab图像融合】粒子群优化自适应多光谱图像融合【含源码 004期】
【Matlab印刷字符识别】OCR印刷字母+数字识别【含源码 1861期】
Implementation of customization function page of online Fox game server room configuration wizard service
213. house raiding II
How to make time planning
[probability theory and mathematical statistics] Dr. monkey's notes p41-44 statistics related topics, determination of three distributions, properties, statistics subject to normal distribution in gen
Oracle pl/sql these query results cannot be updated. Please include ROWID or use Select For update
Leetcode hot topic 100 topic 21-25 solution
品牌定位个性六种形态及结论的重大意义