Giter VIP home page Giter VIP logo

zhaolei.github.io's People

Contributors

zhaolei avatar

Watchers

 avatar  avatar

zhaolei.github.io's Issues

ubuntu 安装NVDIA 显卡后分辨率改变成800*600

ubuntu 安装NVDIA 显卡后分辨率改变成800*600。折腾了一下午各种方法都试了没成功,最后改了ubuntu 下的xorg.conf配置就ok了。
在终端输入:sudo gedit /etc/X11/xorg.conf
%后面是注释,表示修改的地方,在豆瓣中没有颜色标志什么的,只好出此下策。改了3个地方。前两个%的那个4个值是参考
http://linux.chinaunix.net/techdoc/system/2008/08/03/1023252.shtml
(可能不用该也是可以的,我改过之后忘了原来的值,只好如此保存)
Modes "1024×768" 是分辨设置。自行添加进去之后,重启即可。

以下是部分内容
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5 - 61.0 %这个地方修改
VertRefresh 50.0 - 75.0 %这个地方修改
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024×768" % 原先没有这一句添加进去的
EndSubSection
EndSection

xrandr 可看分辨率
lspci | grep VGA 看显卡是否关闭

mxnet安装问题

  1. 根据已装的库 调整blas参数,不一定非用cblas
  2. cuda安装完

ssh反向登陆脚本-gpu-9081

!/bin/bash

createTunnel() {
ssh -N -R 9089:localhost:22 -p 22 [email protected]
if [[ $? -eq 0 ]]; then
echo Tunnel to jumpbox created successfully
else
echo An error occurred creating a tunnel to jumpbox. RC was $?
fi
}

pidof ssh|xargs kill
pidof ssh
if [[ $? -ne 0 ]]; then
echo Creating new tunnel connection
createTunnel
fi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.