Posts
Jul 3, 2024
公网服务器
frontend
backend
monitoring
grafana: :3000
prometheus: 9090
pushgateway: 0.0.0.0:9091
pushprox-proxy: :8080 pushprox.example.com
node-exporter: :9100
smartctl-exporter: :9633
alertmanager: :9093
内网服务器
host
node-exporer:...
Jun 28, 2024
One API: https://github.com/songquanpeng/one-api
docker run --name one-api -d --restart always \
--log-opt max-size=1g \
-e SQL_DSN='oneapi:123456@tcp(mysql:3306)/oneapi' \
-e TZ=Asia/Shanghai \
-e TIKTOKEN_CACHE_DIR=/data/cache \...
Jun 28, 2024
ChatGPT Next Web: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
docker run --name chatgpt-next-web -d --restart=always \
--log-opt max-size=1g \
--net frontend \
yidadaa/chatgpt-next-web:v2.16.0
端口
-p 3000:3000 \
代理:
...
Apr 8, 2024
安装
下载 smartmontools
https://www.smartmontools.org/wiki/Download
直接下载dmg 或者编译
tar -zxvf smartmontools-7.4.tar.gz
cd smartmontools-7.4
./configure
make
使用
查看硬盘
diskutil list
查看硬盘状态
./smartctl -a disk0
Mar 20, 2024
环境
GPU: Nvidia H800 * 1
CPU: 120 c
Memory: 80G
start command:
workspace=/gemini/code/Wav2Lip
cd $workspace
source /venv/bin/python
python wav2lip_train.py --data_root lrs2_preprocessed/ --checkpoint_dir wav2lip_checkpoints --syncnet_che...
Feb 3, 2024
Install
python3 -m venv .venv
source .venv/bin/activate
git clone https://github.com/s0md3v/roop
cd roop
pip install -i https://mirrors.aliyun.com/pypi/simple/ tb-nightly
pip install -r requirements.txt
python run.py --execution-provider cuda
Jan 24, 2024
CREATE DATABASE `encrypt_test` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE TABLE `users` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL D...
Jan 20, 2024
Install dependency
安装依赖
git clone https://github.com/Fictionarry/ER-NeRF.git
git clone https://github.com/YudongGuo/AD-NeRF.git
git clone https://github.com/facebookresearch/pytorch3d.git
cd ER-NeRF
python3 -m venv .venv
source .venv/bin/activa...
Jan 18, 2024
Install
conda create -n video_retalking python=3.11
conda activate video_retalking
pip install torch torchvision torchaudio
pip install -i https://mirrors.aliyun.com/pypi/simple/ tb-nightly
sed -i 's/dlib==19.24.0/dlib==19.24.2/g' requirements.t...
Jan 16, 2024
Usage
# 创建环境
conda create -n envname python=3.10
# 激活环境
conda activate envname
# 列出环境
conda info -e
# 删除环境
conda env remove -n envname