File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer.svg?branch=master )] ( https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer )
1+ [ ![ Build Status] ( https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer.svg?branch=master )] ( https://travis-ci.com/IBM/MAX-Image-Resolution-Enhancer ) [ ![ API demo ] ( https://img.shields.io/website/http/max-image-resolution-enhancer.max.us-south.containers.appdomain.cloud/swagger.json.svg?label=API%20demo&down_message=down&up_message=up )] ( http://max-image-resolution-enhancer.max.us-south.containers.appdomain.cloud/ )
22
33# IBM Developer Model Asset Exchange: Image Resolution Enhancer
44
Original file line number Diff line number Diff line change 77
88# API metadata
99API_TITLE = 'MAX Image Resolution Enhancer'
10- API_DESC = 'Upscale low-resolution images by a factor of 4x . This model was trained on the OpenImagesV4 dataset.'
11- API_VERSION = '0.1 '
10+ API_DESC = 'Upscale low-resolution images by a factor of 4 . This model was trained on the OpenImagesV4 dataset.'
11+ API_VERSION = '1.0.0 '
1212
1313# default model
1414MODEL_NAME = 'SRGAN'
1515DEFAULT_MODEL_PATH = 'assets/SRGAN/model'
1616
1717MODEL_META_DATA = {
18- 'id' : '{}_tensorflow' . format ( MODEL_NAME . lower ()) ,
18+ 'id' : 'max-image-resolution-enhancer' ,
1919 'name' : 'Super-Resolution Generative Adversarial Network (SRGAN)' ,
2020 'description' : 'SRGAN trained on the OpenImagesV4 dataset.' ,
2121 'type' : 'Image-To-Image Translation Or Transformation' ,
22- 'source' : 'https://developer.ibm.com/exchanges/models' ,
23- 'license' : 'ApacheV2 '
22+ 'source' : 'https://developer.ibm.com/exchanges/models/all/max-image-resolution-enhancer/ ' ,
23+ 'license' : 'Apache V2 '
2424}
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ def test_metadata():
2727 assert r .status_code == 200
2828
2929 metadata = r .json ()
30- assert metadata ['id' ] == 'srgan_tensorflow '
30+ assert metadata ['id' ] == 'max-image-resolution-enhancer '
3131 assert metadata ['name' ] == 'Super-Resolution Generative Adversarial Network (SRGAN)'
3232 assert metadata ['description' ] == 'SRGAN trained on the OpenImagesV4 dataset.'
33- assert metadata ['license' ] == 'ApacheV2 '
33+ assert metadata ['license' ] == 'Apache V2 '
3434
3535
3636def call_model (file_path ):
You can’t perform that action at this time.
0 commit comments