01 2020 档案

pytorch 多GPU 训练
摘要:import osos.environ['CUDA_VISIBLE_DEVICES'] = '0, 1, 2'import torch #注意以上两行先后顺序不可弄错 device = torch.device('cuda') model = DataParallel(model)model.to( 阅读全文

posted @ 2020-01-20 18:08 兔子二 阅读(725) 评论(0) 推荐(0)

aptitude search 找不到较新版本的nvidia driver 和CUDA
摘要:`sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_amd64.deb` `sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1 阅读全文

posted @ 2020-01-20 11:28 兔子二 阅读(190) 评论(0) 推荐(0)

制作U盘启动盘
摘要:1. umount /dev/sdc 2. mkfs.vfat -I /dev/sdc 非常重要 3. sudo dd if=./ubuntu.ios of=/dev/sdc 阅读全文

posted @ 2020-01-20 10:08 兔子二 阅读(167) 评论(0) 推荐(0)

frechet inception distance
摘要:https://blog.csdn.net/qq_27261889/article/details/86483505 阅读全文

posted @ 2020-01-18 10:54 兔子二 阅读(494) 评论(0) 推荐(0)

inception score
摘要:https://www.jiqizhixin.com/articles/2019-01-10-18 阅读全文

posted @ 2020-01-17 17:12 兔子二 阅读(166) 评论(0) 推荐(0)

estimateAffinePartial2D 替代 estimateRigidTransform
摘要:在最新的opencv版本中,estimateAffinePartial2D 替代了 estimateRigidTransform 阅读全文

posted @ 2020-01-14 09:20 兔子二 阅读(3783) 评论(0) 推荐(0)

mtcnn
摘要:https://github.com/timesler/facenet-pytorch 阅读全文

posted @ 2020-01-13 17:36 兔子二 阅读(136) 评论(0) 推荐(0)

pytorch 指定GPU
摘要:os.environ['CUDA_VISIBLE_DEVICES']='3' 阅读全文

posted @ 2020-01-09 10:30 兔子二 阅读(111) 评论(0) 推荐(0)

cv2.imread()与PIL中Image.open(),以及相互转换
摘要:https://www.cnblogs.com/chen-hw/p/11693806.html 对于Image.open()函数默认真彩图像读取通道顺序为RGB,而cv2.imread()则是BGR。同时,当图像格式为RGBA时,Image.open(‘ .jpg’)读取的格式为RGBA(其中A表示 阅读全文

posted @ 2020-01-09 09:49 兔子二 阅读(3040) 评论(0) 推荐(0)

Focal Loss 损失函数
摘要:Focal Loss 损失函数 https://blog.csdn.net/Gentleman_Qin/article/details/87343004 阅读全文

posted @ 2020-01-08 16:13 兔子二 阅读(244) 评论(0) 推荐(0)

fatal error Python.h 找不到文件
摘要:导出如下环境变量即可export CPLUS_INCLUDE_PATH=(包含Python.h的路径) 阅读全文

posted @ 2020-01-02 14:21 兔子二 阅读(248) 评论(0) 推荐(0)

导航