Posts
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
Jan 16, 2024
Install
使用conda创建虚拟环境
conda create -n radnerf python=3.10
conda activate radnerf
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
# RuntimeError: CUDA error: the provided PTX was compiled with an unsup...
Jan 11, 2024
合并音视频
ffmpeg -i input.mp4 -i inputvoice.mp4 -c:v copy -c:a copy output.mp4
ffmpeg -i input.mp4 -i input.webm -c:v copy -c:a aac output.mp4
提取音频
ffmpeg -i input.mp4 output.wav
删除视频中的片段
ffmpeg -i input.mp4 -vf "select='not(between(t,36,43))',...