Flashield's Blog

Just For My Daily Diary

Flashield's Blog

Just For My Daily Diary

Day: May 29, 2024

02.course-convolution-and-relu【卷积和ReLU】

import numpy as np from itertools import product def show_kernel(kernel, label=True, digits=None, text_size=28): # Format kernel kernel = np.array(kernel) if digits is not None: kernel = kernel.round(digits) # Plot kernel cmap = plt.get_cmap('Blues_r') plt.imshow(kernel, cmap=cmap) rows, cols = kernel.shape thresh = (kernel.max()+kernel.min())/2 # Optionally, add value labels if label: for i, j in product(range(rows), range(cols)): […]

01.exercise-the-convolutional-classifier【练习:卷积分类器】

This notebook is an exercise in the Computer Vision course. You can reference the tutorial at this link. Accelerate Training with a Kaggle GPU! Did you know Kaggle offers free time with a GPU accelerator? You can speed up training neural networks in this course by switching to GPU in the Accelerator option on the […]

Scroll to top