摘要: 代码封装好了可查看具体函数运行时间 具体代码 def time_function(f, *args): """ Call a function f with args and return the time (in seconds) that it took to execute. """ impo 阅读全文
posted @ 2022-08-07 23:39 JaxonYe 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 官方链接 https://cs231n.github.io/assignments2022/assignment1/ 目标: 在这个作业中,你将练习组合一个基于k近邻或SVM/Softmax分类器的简单图像分类管道。本次作业的目标如下: 了解基本的图像分类流程和数据驱动方法(训练/预测阶段)。 理解 阅读全文
posted @ 2022-08-07 22:07 JaxonYe 阅读(40) 评论(0) 推荐(0) 编辑
摘要: CS231N作业里面from past.builtins import xrange安装的是future包 pip install future 阅读全文
posted @ 2022-08-07 17:25 JaxonYe 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 打开sciview工具栏 关闭sciview工具栏,单独显示matplotlib的绘图 阅读全文
posted @ 2022-08-07 14:00 JaxonYe 阅读(1560) 评论(0) 推荐(1) 编辑
摘要: 现象 from scipy import imread, imsave, imresize在scipy的新版库中已经被弃用 解决方法 pip install imageio -i https://pypi.tuna.tsinghua.edu.cn/simple imread,imwrite用imag 阅读全文
posted @ 2022-08-07 13:31 JaxonYe 阅读(294) 评论(0) 推荐(0) 编辑