Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyu2172 committed Aug 20, 2017
1 parent 26231db commit cfcccc7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 263 deletions.
161 changes: 0 additions & 161 deletions chainercv/links/model/feature_extraction_predictor.py

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/reference/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature extraction models can be used to extract feature(s) given images.
.. autoclass:: chainercv.links.SequentialFeatureExtractor
:members:

.. autoclass:: chainercv.links.FeatureExtractionPredictor
.. autoclass:: chainercv.links.FeaturePredictor


Detection
Expand Down
4 changes: 2 additions & 2 deletions examples/classification/eval_imagenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from chainercv.datasets import directory_parsing_label_names
from chainercv.datasets import DirectoryParsingClassificationDataset
from chainercv.links import FeatureExtractionPredictor
from chainercv.links import FeaturePredictor
from chainercv.links import VGG16

from chainercv.utils import apply_prediction_to_iterator
Expand Down Expand Up @@ -59,7 +59,7 @@ def main():
else:
extractor = VGG16(pretrained_model='imagenet',
n_class=len(label_names))
model = FeatureExtractionPredictor(extractor, crop=args.crop)
model = FeaturePredictor(extractor, 224, crop=args.crop)

if args.gpu >= 0:
chainer.cuda.get_device(args.gpu).use()
Expand Down
99 changes: 0 additions & 99 deletions tests/links_tests/model_tests/test_feature_extraction_predictor.py

This file was deleted.

0 comments on commit cfcccc7

Please sign in to comment.