Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 勘误.md #232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions 勘误.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
## 第二章
## 第三章
## 第三章

### 3.1.2节
P71
torch.FloatTensor(ndarray in float32) --- share memory
torch.FloatTensor(ndarray in float64) --- allocate new memory

### 3.2.2节
P88
saved_variables 在v0.3 版本中被删除

## 第四章
P118
https://github.com/chenyuntc/pytorch-book/pull/76

## 第五章

### 5.1.1节
P137
- torchvision Scale -> Resize
- torchvision RandomSizedCrop -> RandomResizedCrop

P142
- dataset collate_fn 一节
```
dataloader = DataLoader(dataset, 2, collate_fn=my_collate_fn, num_workers=1,shuffle=True)
```
### 5.4节
P159
module.cuda(device = 1) # device_id 也变了

## 第八章

### 8.2 节
P 225
其网络结构如图 8-5 所示。图中 (a) 是网络的总体结构,左边 (d) 是一个残差单元的结构图,右边 (b) 和 (c) 分别是下采样和上采样单元的结构图。

### 第四章
https://github.com/chenyuntc/pytorch-book/pull/76