MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / __init__

Method __init__

python/graphvite/dataset.py:873–891  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

871 """
872
873 def __init__(self):
874 super(ImageNet, self).__init__(
875 "imagenet",
876 urls={
877 "train_image": "http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_train.tar",
878 "train_feature_data": [], # depends on `train_image`
879 "train_label": [], # depends on `train_image`
880 "train_hierarchical_label": [], # depends on `train_image`
881 "valid_image": ["http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_val.tar",
882 "http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_devkit_t12.tar.gz"],
883 "valid_feature_data": [], # depends on `valid_image`
884 "valid_label": "http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_devkit_t12.tar.gz",
885 "valid_hierarchical_label":
886 "http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_devkit_t12.tar.gz",
887 "feature_data": [], # depends on `train_feature_data` & `valid_feature_data`
888 "label": [], # depends on `train_label` & `valid_label`
889 "hierarchical_label": [], # depends on `train_hierarchical_label` & `valid_hierarchical_label`
890 }
891 )
892
893 def import_wordnet(self):
894 import nltk

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected