Skip to content

Commit

Permalink
Fix CI (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Jan 9, 2023
1 parent af3c1b9 commit ed58d27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pytorch_vision_snnmlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ order: 10

```python
import torch
model = torch.hub.load('huawei-noah/SNNMLP', 'snnmlp_t', pretrained=True)
model = torch.hub.load('huawei-noah/Efficient-AI-Backbones', 'snnmlp_t', pretrained=True)
# or
# model = torch.hub.load('huawei-noah/SNNMLP', 'snnmlp_s', pretrained=True)
# model = torch.hub.load('huawei-noah/Efficient-AI-Backbones', 'snnmlp_s', pretrained=True)
# or
# model = torch.hub.load('huawei-noah/SNNMLP', 'snnmlp_b', pretrained=True)
# model = torch.hub.load('huawei-noah/Efficient-AI-Backbones', 'snnmlp_b', pretrained=True)
model.eval()
```

Expand Down
2 changes: 1 addition & 1 deletion scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pip install -q hydra-core opencv-python fvcore
pip install -q --upgrade google-api-python-client
pip install pytorchvideo
pip install -q prefetch_generator # yolop
pip install -q pretrainedmodels efficientnet_pytorch # hybridnets
pip install -q pretrainedmodels efficientnet_pytorch webcolors # hybridnets

0 comments on commit ed58d27

Please sign in to comment.