ZhangZhihui's Blog  
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 116 下一页

2024年10月17日

摘要: 阅读全文
posted @ 2024-10-17 21:03 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0)

2024年10月15日

摘要: images, labels = generate_dataset(img_size=5, n_images=300, binary=True, seed=13) And then let’s visualize the first 30 images: image_r = np.zeros((5, 阅读全文
posted @ 2024-10-15 22:38 ZhangZhihuiAAA 阅读(31) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2024-10-15 09:19 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)

2024年10月14日

摘要: Fixed with restarting VSCode. 阅读全文
posted @ 2024-10-14 12:00 ZhangZhihuiAAA 阅读(254) 评论(0) 推荐(0)
 
摘要: from sklearn.datasets import make_moons from sklearn.model_selection import train_test_split X, y = make_moons(n_samples=100, noise=.3, random_state=0 阅读全文
posted @ 2024-10-14 09:20 ZhangZhihuiAAA 阅读(30) 评论(0) 推荐(0)

2024年10月13日

摘要: class StepByStep(): def __init__(self, model, loss_fn, optimizer): self.device = 'cuda' if torch.cuda.is_available() else 'cpu' self.model = model.to( 阅读全文
posted @ 2024-10-13 17:48 ZhangZhihuiAAA 阅读(27) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2024-10-13 09:50 ZhangZhihuiAAA 阅读(24) 评论(0) 推荐(0)

2024年10月12日

摘要: def make_train_step_fn(model, loss_fn, optimizer): def perform_train_step_fn(x, y): # Set model to TRAIN mode model.train() # Step 1 - Compute model's 阅读全文
posted @ 2024-10-12 21:32 ZhangZhihuiAAA 阅读(76) 评论(0) 推荐(0)

2024年10月5日

摘要: %%writefile data_preparation/v0.py device = 'cuda' if torch.cuda.is_available() else 'cpu' # Our data was in Numpy arrays, but we need to transform th 阅读全文
posted @ 2024-10-05 20:17 ZhangZhihuiAAA 阅读(48) 评论(0) 推荐(0)

2024年10月2日

摘要: Regression is a statistical technique that relates a dependent variable to one or more independent variables. A regression model is able to show wheth 阅读全文
posted @ 2024-10-02 17:28 ZhangZhihuiAAA 阅读(22) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 116 下一页