Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 499 Bytes

勘误.md

File metadata and controls

18 lines (16 loc) · 499 Bytes

第二章

## 第三章

3.1.2节

torch.FloatTensor(ndarray in float32) --- share memory torch.FloatTensor(ndarray in float64) --- allocate new memory

3.2.2节

saved_variables 在v0.3 版本中被删除

5.1.1节

  • torchvision Scale -> Resize
  • torchvision RandomSizedCrop -> RandomResizedCrop
  • dataset collate_fn 一节
    dataloader = DataLoader(dataset, 2, collate_fn=my_collate_fn, num_workers=1,shuffle=True)
    

5.4节

module.cuda(device = 1) # device_id 也变了