Giter Site home page Giter Site logo

research-and-coding's Introduction

Some tips for research and coding

欢迎大家一起丰富内容~~~😄

0. 论文列表

1. 科研起步

必读文章

信息收集

其他

2. Github

  • Github历史和目的
  • 创建账号
  • 建立Repository
  • git init 初始化
  • 随便添加一个.txt文件
  • git diff 查看当前本地修改了什么
  • git diff xxx 查看xxx里面修改了什么
  • git add xxx.txt 添加xxx.txt到git
  • git add -A 添加所有文件到git
  • git commit -m "hahahah" 添加注释
  • git push 上传更新
  • git clone https://github.com/account/repository.git
  • git status 查询状态
  • 如何在网站上修改
  • git pull 与Github同步
  • git branch 查看branch
  • git branch -a 查看所有branch
  • git branch new 创建branch名为new
  • git checkout new 进入new branch
  • git checkout master 返回主branch
  • git checkout -b new2 创建并进入branch名为new2
  • 修改branch后,commit到Github上,如何在github上发起Push Request
  • .gitignore 自定义不能被添加的文件
  • 添加collaborator
  • 新建organization
  • 练习:建立自己的个人主页 我的例子

3. 其他Coding

4. GPU

  • 目的
  • nvidia-smi 查看GPU使用情况
  • watch -n 1 nvidia-smi:每秒钟刷新GPU使用情况
  • sudo fuser -v /dev/nvidia* 查看GPU使用者
  • sudo kill -9 PID 杀掉进程
  • CUDA_VISIBLE_DEVICES=0 python xxx.py 指定GPU0
  • CUDA_VISIBLE_DEVICES=0,1 python xxx.py 指定GPU0和1
  • CUDA_VISIBLE_DEVICES=“” python xxx.py 不使用GPU
  • python xxx.py > train.log & 把输出放入train.log(>); 不显示输出(&)
  • CPU & GPU
  • top
  • htop

5. Screen

  • 目的:关闭当前Terminal/命令窗口,程序依然进行。
  • screen -S name 创建screen,并进入
  • screen -ls 查看screen列表
  • screen -r name 进入screen
  • ctrl+A+D 退出当前screen
  • screen -d name 关闭screen
  • screen -X -S name kill 删除screen

6. Virtualenv

  • 目的
  • Installation
  • pip3 install virtualenv 安装virtualenv
  • virtualenv env 新建环境
  • source env/bin/activate 进入环境
  • deactivate 退出环境

7. 文档

8. 远程连接

9. TensorLayer

10. Machine Learning / System / ...

11. Publishing Paper

research-and-coding's People

Contributors

limberc avatar zhibo-liu avatar zsdonghao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.