My personal code snippet library of helper functions and classes, some with example.
-
+itom/: Tool functions that might be used in MATLAB codes. The leading
+
will add this folder into the searching path. -
configurations/: Configuration files.
-
containers/: Definition files of Docker and Singularity image.
-
git/: git-related command showcases and .gitignore template.
-
scripts/: Utility scripts.
-
utils/: Utilities.
-
args.py: An example of using the
argparse
package in Python. -
config.yaml: An example of writing arguments in YAML. Can be used together with utils/config.py.
-
requirements.txt: Common packages I met that a Docker image may not contain.
some entries to be added in hosts file for GitHub accessing:
140.82.114.4 github.com
199.232.5.194 github.global.ssl.fastly.net
199.232.68.133 raw.githubusercontent.com
see [9] for automatic hosts updating.
change the source of pip
, see [7, 8].
While you can add the configuration file yourself, a quicker way would be using one of the following commands:
# Tsinghua
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# Alibaba
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# Tencent
pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
# Douban
pip config set global.index-url http://pypi.douban.com/simple/
- AlexNet implementation + weights in TensorFlow
- mikechen66/AlexNet_TensorFlow2.0-2.2
- Finding source of NaN in forward pass
- torch.autograd.detect_anomaly
- deep-cross-modal-hashing/torchcmh/dataset/base/triplet.py
- 【BUG】[nltk_data] Error loading punkt: <urlopen error [Errno 11004] [nltk_data]
- Python 修改 pip 源为国内源
- python - pip换源,更换pip源到国内镜像
- 521xueweihan/GitHub520
- 解决pip安装超时的问题
- screen
- 亲测!screen好看好用的配置(Linux)
- How can I run Tensorboard on a remote server?