上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 参考文档 https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html 准备文件 wxml <!--pages/catprofile/catprofile.wxml--> <view class="container"> 阅读全文
posted @ 2022-02-28 14:34 裏表異体 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 代码 # -*- coding: utf-8 -*- """ Created on Wed Feb 23 20:37:01 2022 @author: koneko """ import numpy as np import matplotlib.pyplot as plt def sigmoid( 阅读全文
posted @ 2022-02-25 22:21 裏表異体 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Pytorch简介 PyTorch是一个基于Torch的Python开源机器学习库,用于自然语言处理等应用程序。它主要由Facebookd的人工智能小组开发,不仅能够 实现强大的GPU加速,同时还支持动态神经网络,这一点是现在很多主流框架如TensorFlow都不支持的。 PyTorch提供了两个高 阅读全文
posted @ 2022-02-22 19:44 裏表異体 阅读(1438) 评论(0) 推荐(0) 编辑
摘要: 环境: Python版本: 3.8 IDE:Spyder 5.2.2 代码: from torchvision import datasets from matplotlib import pyplot as plt # 下载数据 from torchvision import datasets f 阅读全文
posted @ 2022-02-21 14:44 裏表異体 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 代码 # -*- coding: utf-8 -*- """ Created on Sat Feb 19 13:19:30 2022 @author: koneko """ from matplotlib import pyplot as plt import torch import math d 阅读全文
posted @ 2022-02-20 21:37 裏表異体 阅读(3501) 评论(0) 推荐(0) 编辑
摘要: 首先找到anaconda的安装目录,然后找到其中的script目录 看到这个程序没有,就是用它,然后再这个文件夹打开cmd 输入 2to3 然后如果要转换单个文件就是 2to3 -w example.py \\-w会把变更写回原文件 如果要转换整个文件夹下的就是 2to3 -w E:\test\ 阅读全文
posted @ 2022-02-18 20:37 裏表異体 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 参看链接 https://www.cnblogs.com/jiangzhaowei/p/8206191.html 阅读全文
posted @ 2022-02-18 20:00 裏表異体 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 先放上官方文档链接 https://openpyxl.readthedocs.io/en/stable/tutorial.html# 材料和目标 有以下数据的excel表格,放在工作目录下,我们要求最高气温和最低气温的平均值放到第5列上去 加载mine.xlsx文件 wb = openpyxl.lo 阅读全文
posted @ 2022-02-17 23:37 裏表異体 阅读(115) 评论(0) 推荐(0) 编辑
摘要: https://registry.npmmirror.com/binary.html?path=git-for-windows/ 阅读全文
posted @ 2022-02-11 22:41 裏表異体 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 这是编码的问题,只需要在连接字符串中把编码设定为utf-8就可以解决,具体代码如下: String connetStr = "server=127.0.0.1;port=3306;user=root;password=123456; database=members;Charset=utf8"; 阅读全文
posted @ 2022-01-07 14:34 裏表異体 阅读(299) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页