摘要: #!/usr/bin/python3 # _*_coding:utf-8 _*_ # @Time :2021/4/11 19:38 # @Author :jory.d # @File :m4a_to_mp3.py # @Software :PyCharm """ 不能在pycharm里run, 只能 阅读全文
posted @ 2021-04-11 20:04 dangxusheng 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # _*_coding:utf-8 _*_ # @Time :2021/2/21 23:14 # @Author :jory.d # @File :roc_auc.py # @Software :PyCharm # @Desc: 绘制多分类的ROC AUC曲线 阅读全文
posted @ 2021-03-10 22:47 dangxusheng 阅读(384) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # _*_coding:utf-8 _*_ ''' 自定义重写 dataset,实现类别均衡,体现为 每个batch都可以按照自己设定得比例来采样,且支持多进程和分布式 ''' from check_pkgs import * import torch.dist 阅读全文
posted @ 2021-02-06 18:47 dangxusheng 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: import torch import torch.nn as nn import torch.nn.functional as F class LSR(nn.Module): def __init__(self, n_classes=10, eps=0.1): super(LSR, self)._ 阅读全文
posted @ 2021-02-06 18:42 dangxusheng 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: 参考博客:http://aiuai.cn/aifarm1340.htmlhttps://yangkky.github.io/2019/07/08/distributed-pytorch-tutorial.html pytorch里DataParallel 和 DistributedParallel 阅读全文
posted @ 2021-02-06 18:28 dangxusheng 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 不懂原理的同学请参考: https://blog.csdn.net/qq_43337858/article/details/102738352?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPa 阅读全文
posted @ 2021-02-06 17:55 dangxusheng 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: from :https://www.dbs.ifi.lmu.de/~yu_k/icml2010_3dcnn.pdf > 2D-CNN > 3D-CNN > 可视化比较 from: http://cn.arxiv.org/pdf/1412.0767.pdf 阅读全文
posted @ 2020-09-22 22:57 dangxusheng 阅读(1236) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/02/11 21:44 # @Author : dangxusheng # @Email : dangxusheng163@163.com # @File : download_ 阅读全文
posted @ 2020-07-30 22:14 dangxusheng 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 转载至 https://blog.csdn.net/zhouzying/article/details/102151441 阅读全文
posted @ 2020-04-10 21:36 dangxusheng 阅读(4200) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8-*- # file: {NAME}.py # @author: jory.d # @contact: dangxusheng163@163.com # @time: 2020/04/10 19:42 # @desc: 阅读全文
posted @ 2020-04-10 21:34 dangxusheng 阅读(651) 评论(0) 推荐(0) 编辑