摘要: 本次学习的视频聚焦卷积神经网络(CNN)中边缘填充方法,给与我很大的启发 视频先详解卷积层四大关键参数,滑动窗口步长决定卷积核移动间隔,影响输出尺寸与效率;卷积核尺寸(如3×3、5×5)决定局部感知范围;边缘填充的作用是为避免特征图缩小和边缘信息丢失,在输入边缘填充0或其他值的操作,而卷积核个数则决 阅读全文
posted @ 2025-10-15 21:21 低矮的高原 阅读(7) 评论(0) 推荐(0)
摘要: 运行代码 import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader from torchvision.datasets import CIFAR10 f 阅读全文
posted @ 2025-10-15 21:04 低矮的高原 阅读(7) 评论(0) 推荐(0)
摘要: python作为一个最广泛使用的计算机语言,他门槛低,使用方便、快捷。在python语言的学习过程中,我的心得如下:计算机语言的学习要先从模仿开始,从抄写代码开始。具体表现为在抄代码的过程中一步步思考这一段代码的作用是什么,是怎么实现的,然后试着在相类似的场景去使用。其次,在遇到新的内容时可以借助网 阅读全文
posted @ 2025-06-23 10:19 低矮的高原 阅读(8) 评论(0) 推荐(0)
摘要: import pygame import time import random pygame.init() white = (255, 255, 255) yellow = (255, 255, 102) black = (0, 0, 0) red = (213, 50, 80) green = ( 阅读全文
posted @ 2025-06-21 16:31 低矮的高原 阅读(10) 评论(0) 推荐(0)
摘要: import random import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, QPushButton, QTe 阅读全文
posted @ 2025-06-21 16:02 低矮的高原 阅读(21) 评论(0) 推荐(0)
摘要: 习题8.1 from random import random def printInatro(): print("这个程序模拟两个选手A何B的某种竞技比赛") print("程序运行需要A和B的能力值(用0到1之间的小数表示)") def getInputs(): a = eval(input(" 阅读全文
posted @ 2025-05-25 17:23 低矮的高原 阅读(40) 评论(0) 推荐(0)
摘要: 作业7.1 import tokenize import keyword from io import BytesIO def convert_python_file(source_path, target_path): with open(source_path, 'rb') as file: t 阅读全文
posted @ 2025-05-18 12:20 低矮的高原 阅读(41) 评论(0) 推荐(0)
摘要: 5.1 def drawaq(n): line = 3n+1 for i in range(1,line+1): if i%3 == 1: print(n"+ ",end="") print("+") else: print("| "*n,end="") print("|") n = eval(in 阅读全文
posted @ 2025-04-20 17:01 低矮的高原 阅读(7) 评论(0) 推荐(0)
摘要: 03 JingEr = float(input("请输入金额:")) print("抹零后的金额为{:.0f}".format(JingEr)) print("3007") 04 chengji1 = float(input("请输入第一位学生的成绩:")) chengji2 = float(inp 阅读全文
posted @ 2025-04-13 12:48 低矮的高原 阅读(11) 评论(0) 推荐(0)
摘要: 习题4.1 GuessANum.py target = 425 guess = 0 cishu = 0 while guess != target: guess = eval(input('请输入一个猜测的整数(1至1000):')) if guess > target: print('猜大了') 阅读全文
posted @ 2025-04-04 23:22 低矮的高原 阅读(8) 评论(0) 推荐(0)