摘要: !pip install scikit-image from skimage import io, img_as_float from skimage.metrics import structural_similarity as ssim import matplotlib.pyplot as p 阅读全文
posted @ 2024-07-01 16:26 Anonytt 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 如果两张图片不一样大,预处理: !pip install Pillow from PIL import Image # 打开图像 img1 = Image.open('img1.jpg') img2 = Image.open('img2.jpg') # 调整图像大小,统一为img1的大小 img2 阅读全文
posted @ 2024-07-01 16:19 Anonytt 阅读(1) 评论(0) 推荐(0) 编辑
摘要: !git clone https://github.com/facebookresearch/dino.git !pip install timm import torch import timm from PIL import Image from torchvision import trans 阅读全文
posted @ 2024-07-01 16:11 Anonytt 阅读(1) 评论(0) 推荐(0) 编辑
摘要: !pip install torch torchvision ftfy regex !pip install git+https://github.com/openai/CLIP.git import torch import clip from PIL import Image from io i 阅读全文
posted @ 2024-07-01 16:04 Anonytt 阅读(1) 评论(0) 推荐(0) 编辑
摘要: %cd /content !git clone --recursive https://github.com/Anonytt/gs.git !pip install -q plyfile %cd /content/gs !pip install -q /content/gs/submodules/d 阅读全文
posted @ 2024-06-19 15:04 Anonytt 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-06-13 10:07 Anonytt 阅读(2) 评论(0) 推荐(0) 编辑
摘要: %cd /content !git clone --recursive https://github.com/VAST-AI-Research/TripoSR !pip install -r requirements.txt %cd /content/TripoSR/ !pip install -r 阅读全文
posted @ 2024-06-11 16:17 Anonytt 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1.生成SSH密钥: 在本地安装的git目录下,启动git-bash.exe 启动的git的命令中输入ssh-keygen -t rsa 并一直回车到最后 在路径中找到 .ssh/id_rsa.pub 文件 里面的密钥既为SSH密钥 最后再在Github仓库里SSH Keys中写入即可 2.创建仓库 阅读全文
posted @ 2024-06-07 14:25 Anonytt 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.创建超级用户: 在acapp下 #python3 manage.py createsuperuser 2.创建新的数据表: 在acapp/game/models下创建player文件夹: #mkdir player #touch init.py #vim player.py 用于存储player 阅读全文
posted @ 2021-11-26 12:00 Anonytt 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <meta name="viewport" 阅读全文
posted @ 2021-11-25 10:54 Anonytt 阅读(35) 评论(0) 推荐(0) 编辑