From 986b7509bce53f9df39824b70b76d952b55dbb0b Mon Sep 17 00:00:00 2001 From: ZeyuChen Date: Wed, 13 May 2020 12:02:02 +0800 Subject: [PATCH] move DELTA folder position --- {paddlehub/autodl => autodl}/DELTA/README.md | 10 ++++++---- {paddlehub/autodl => autodl}/DELTA/args.py | 0 .../autodl => autodl}/DELTA/datasets/data_path.py | 0 {paddlehub/autodl => autodl}/DELTA/datasets/readers.py | 0 {paddlehub/autodl => autodl}/DELTA/main.py | 0 {paddlehub/autodl => autodl}/DELTA/models/__init__.py | 0 {paddlehub/autodl => autodl}/DELTA/models/resnet.py | 0 {paddlehub/autodl => autodl}/DELTA/models/resnet_vc.py | 0 8 files changed, 6 insertions(+), 4 deletions(-) rename {paddlehub/autodl => autodl}/DELTA/README.md (84%) rename {paddlehub/autodl => autodl}/DELTA/args.py (100%) rename {paddlehub/autodl => autodl}/DELTA/datasets/data_path.py (100%) rename {paddlehub/autodl => autodl}/DELTA/datasets/readers.py (100%) rename {paddlehub/autodl => autodl}/DELTA/main.py (100%) rename {paddlehub/autodl => autodl}/DELTA/models/__init__.py (100%) rename {paddlehub/autodl => autodl}/DELTA/models/resnet.py (100%) rename {paddlehub/autodl => autodl}/DELTA/models/resnet_vc.py (100%) diff --git a/paddlehub/autodl/DELTA/README.md b/autodl/DELTA/README.md similarity index 84% rename from paddlehub/autodl/DELTA/README.md rename to autodl/DELTA/README.md index 7b235d46..8620bb0d 100644 --- a/paddlehub/autodl/DELTA/README.md +++ b/autodl/DELTA/README.md @@ -1,10 +1,12 @@ +# DELTA: DEep Learning Transfer using Feature Map with Attention for Convolutional Networks -# Introduction -This page implements the [DELTA](https://arxiv.org/abs/1901.09229) algorithm in [PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick). +## Introduction + +This page implements the [DELTA](https://arxiv.org/abs/1901.09229) algorithm in [PaddlePaddle](https://www.paddlepaddle.org.cn). > Li, Xingjian, et al. "DELTA: Deep learning transfer using feature map with attention for convolutional networks." ICLR 2019. -# Preparation of Data and Pre-trained Model +## Preparation of Data and Pre-trained Model - Download transfer learning target datasets, like [Caltech-256](http://www.vision.caltech.edu/Image_Datasets/Caltech256/), [CUB_200_2011](http://www.vision.caltech.edu/visipedia/CUB-200-2011.html) or others. Arrange the dataset in this way: ``` @@ -23,7 +25,7 @@ This page implements the [DELTA](https://arxiv.org/abs/1901.09229) algorithm in - Download [the pretrained models](https://github.com/PaddlePaddle/models/tree/release/1.7/PaddleCV/image_classification#resnet-series). We give the results of ResNet-101 below. -# Running Scripts +## Running Scripts Modify `global_data_path` in `datasets/data_path` to the path root where the dataset is. diff --git a/paddlehub/autodl/DELTA/args.py b/autodl/DELTA/args.py similarity index 100% rename from paddlehub/autodl/DELTA/args.py rename to autodl/DELTA/args.py diff --git a/paddlehub/autodl/DELTA/datasets/data_path.py b/autodl/DELTA/datasets/data_path.py similarity index 100% rename from paddlehub/autodl/DELTA/datasets/data_path.py rename to autodl/DELTA/datasets/data_path.py diff --git a/paddlehub/autodl/DELTA/datasets/readers.py b/autodl/DELTA/datasets/readers.py similarity index 100% rename from paddlehub/autodl/DELTA/datasets/readers.py rename to autodl/DELTA/datasets/readers.py diff --git a/paddlehub/autodl/DELTA/main.py b/autodl/DELTA/main.py similarity index 100% rename from paddlehub/autodl/DELTA/main.py rename to autodl/DELTA/main.py diff --git a/paddlehub/autodl/DELTA/models/__init__.py b/autodl/DELTA/models/__init__.py similarity index 100% rename from paddlehub/autodl/DELTA/models/__init__.py rename to autodl/DELTA/models/__init__.py diff --git a/paddlehub/autodl/DELTA/models/resnet.py b/autodl/DELTA/models/resnet.py similarity index 100% rename from paddlehub/autodl/DELTA/models/resnet.py rename to autodl/DELTA/models/resnet.py diff --git a/paddlehub/autodl/DELTA/models/resnet_vc.py b/autodl/DELTA/models/resnet_vc.py similarity index 100% rename from paddlehub/autodl/DELTA/models/resnet_vc.py rename to autodl/DELTA/models/resnet_vc.py -- GitLab