• Myosaki's avatar
    Correction wrong comments (#1211) · 5414faa0
    Myosaki authored
    `self.fc1(x)` converts the shape of `x` into "N x 1024", and `self.fc2(x)` converts into "N x num_classes".
    
    By adding `print(x.shape)` under each comment line, the console displays as follows (batch_size is 1):
    
    ```text
    torch.Size([1, 2048])
    torch.Size([1, 1024])
    torch.Size([1, 1024])
    torch.Size([1, 1024])
    torch.Size([1, 1000])
    ```
    5414faa0
googlenet.py 8.09 KB