有用的命令 从当前文件夹中的文件内查找sam2_hiera_large.safetensors 的字符串 ``` find ./ -type f -exec grep -H "sam2_hiera_large.safetensors" {} \ find ./ -type f | xargs grep "mixlab" ``` 替换文件内字符串 ``` find ./ -type f -exec sed -i 's/huggingface.co/hf-mirror.com/g' {} + ``` 监视gpu ``` watch nvidia-smi ``` ubuntu系统,随手发现 2024-08-07 评论 105 次浏览
安装 onnxruntime basicsr Install ONNX Runtime CPU ``` pip install onnxruntime ``` Install ONNX Runtime GPU (CUDA 11.x) The default CUDA version for ORT is 11.8. ``` pip install onnxruntime-gpu ``` Install ONNX Runtime GPU (CUDA 12.x) For Cuda 12.x, please use the following instructions to install from ORT Azure Devops Feed ``` pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/ ``` from https://onnxruntime.ai/docs/install/ ------------ 安装 basicsr ``` pip install -i https://mirrors.aliyun.com/pypi/simple tb-nightly pip install -i https://pypi.tuna.tsinghua.edu.cn/simple basicsr==1.4.2 ``` ubuntu系统,随手发现 2024-08-07 评论 167 次浏览
收藏的插件 comfyUI https://github.com/comfyanonymous/ComfyUI #####VideoHelperSuite https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite reactor https://github.com/Gourieff/comfyui-reactor-node 需要安装 pip install insightface 以及下载2个文件:然后把这两个文件移动到安目录下:./ComfyUI/models/facerestore_models https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1.4.pth animatediff https://hf-mirror.com/guoyww/animatediff/ 显示CPU等硬件信息 https://github.com/crystian/ComfyUI-Crystools 抠图 https://github.com/ZHO-ZHO-ZHO/ComfyUI-BiRefNet-ZHO stable-diffusion-webui adetailer https://github.com/Bing-su/adetailer reactor https://github.com/deepinsight/insightface/releases/ 模型: dw-ll_ucoco_384_bs5.torchscript.pt rtmpose-m_ap10k_256_bs5.torchscript.pt https://hf-mirror.com/hr16/DWPose-TorchScript-BatchSize5/tree/main MimicMotion_1.pth https://hf-mirror.com/ixaac/MimicMotion/tree/main MimicMotion-fp16.safetensors MimicMotionMergedUnet_1-0-fp16.safetensors MimicMotionMergedUnet_1-1-fp16.safetensors https://hf-mirror.com/Kijai/MimicMotion_pruned/tree/main stable-diffusion-v1-5 vae https://hf-mirror.com/runwayml/stable-diffusion-v1-5 https://hf-mirror.com/stabilityai/sd-vae-ft-mse-original llama-cpp-python https://github.com/abetlen/llama-cpp-python controlnet https://hf-mirror.com/lllyasviel/ControlNet-v1-1/ 随手发现 2024-08-07 评论 273 次浏览
修复无法使用sudo root下visudo 例如添加 ``` useyyyy ALL=(ALL:ALL) ALL usexxxxx ALL=(ALL) NOPASSWD:ALL ``` 如果出现a world file 修改权限,例如 ``` chmod 0440 /etc/sudoers.d/ai_sudoer chown root:root /etc/sudoers.d/ai_sudoer ``` ubuntu系统,随手发现 2024-08-03 评论 87 次浏览