"projects/PointSup/vscode:/vscode.git/clone" did not exist on "63e10e00f1d690f134342ea32fbe0af1645ccb0b"
Commit 82c533be authored by Korabelnikov Aleks's avatar Korabelnikov Aleks Committed by Kai Chen
Browse files

Update GETTING_STARTED.md (#1580)

Found out that this method is required. The torch.nn.Module doesn't contain this method thus you need to implement it
parent 1f3e2734
...@@ -357,6 +357,9 @@ class MobileNet(nn.Module): ...@@ -357,6 +357,9 @@ class MobileNet(nn.Module):
def forward(x): # should return a tuple def forward(x): # should return a tuple
pass pass
def init_weights(self, pretrained=None):
pass
``` ```
2. Import the module in `mmdet/models/backbones/__init__.py`. 2. Import the module in `mmdet/models/backbones/__init__.py`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment