Skip to content

Commit

Permalink
Host data on data.bris.ac.uk (#3)
Browse files Browse the repository at this point in the history
* Update pretrained model URLs to Data.Bris

* [test] Support changing torch hub id via TORCH_HUB env var
  • Loading branch information
willprice committed Aug 5, 2019
1 parent 4a396f8 commit cfc59f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pretrained_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
["variant", "base_model", "modality", "num_segments", "consensus_type"],
)
_epic_url_base = (
"https://wp-research-public.s3-eu-west-1.amazonaws.com/epic-models-checkpoints/"
"https://data.bris.ac.uk/datasets/2tw6gdvmfj3f12papdy24flvmo/"
)


Expand Down Expand Up @@ -47,4 +47,4 @@


class InvalidPretrainError(Exception):
pass
pass
3 changes: 2 additions & 1 deletion tests/test_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
from tsm import TSM
from itertools import product
import pytest
import os


repo = "epic-kitchens/action-models:pytorch-hub-support"
repo = os.getenv("HUB_ID", "epic-kitchens/action-models:pytorch-hub-support")
epic_class_counts = (125, 352)
segment_count = 8

Expand Down

0 comments on commit cfc59f1

Please sign in to comment.