To remove a submodule you need to:
- Delete the relevant section from the
.gitmodules
file. - Stage the .gitmodules changes
git add .gitmodules
- Delete the relevant section from
.git/config
. - Run
conda create -n open-mmlab python=3.7 -y | |
source activate open-mmlab | |
conda install -c pytorch pytorch torchvision -y | |
conda install cython -y | |
git clone https://github.com/open-mmlab/mmdetection.git | |
cd mmdetection | |
./compile.sh | |
pip install -e . # "pip install ." for installation mode |
To remove a submodule you need to:
.gitmodules
file.git add .gitmodules
.git/config
.
var https = require('https'), | |
user = process.argv[2], | |
opts = parseOpts(process.argv.slice(3)) | |
request('/users/' + user, function (res) { | |
if (!res.public_repos) { | |
console.log(res.message) | |
return | |
} | |
var pages = Math.ceil(res.public_repos / 100), |
#!/usr/bin/env bash | |
cd ~ | |
wget https://repo.continuum.io/archive/Anaconda2-4.3.0-Linux-x86_64.sh | |
bash Anaconda2-4.3.0-Linux-x86_64.sh -b | |
echo 'PATH="/home/ubuntu/anaconda2/bin:$PATH"' >> .bashrc | |
. .bashrc | |
jupyter notebook --generate-config |
; Global settings | |
[redshift] | |
temp-day=6500K | |
temp-night=5000 | |
transition=1 | |
;gamma=0.8:0.7:0.8 | |
gamma=1.000:1.000:1.000 | |
location-provider=geoclue | |
;location-provider=manual | |
adjustment-method=vidmode |