Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
fix selected module in mobilenet test : it should be dependant on sel…
Browse files Browse the repository at this point in the history
…ected mobilenet version (#25)
  • Loading branch information
RaphaelMeudec authored and taehoonlee committed Aug 3, 2018
1 parent 8ad3241 commit fb46b9a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/applications_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
from multiprocessing import Process, Queue


MOBILENET_LIST = [(mobilenet.MobileNet, 1024),
(mobilenet_v2.MobileNetV2, 1280)]
MOBILENET_LIST = [(mobilenet.MobileNet, mobilenet, 1024),
(mobilenet_v2.MobileNetV2, mobilenet_v2, 1280)]
DENSENET_LIST = [(densenet.DenseNet121, 1024),
(densenet.DenseNet169, 1664),
(densenet.DenseNet201, 1920)]
Expand Down Expand Up @@ -190,8 +190,7 @@ def test_inceptionresnetv2():


def test_mobilenet():
app, last_dim = random.choice(MOBILENET_LIST)
module = mobilenet
app, module, last_dim = random.choice(MOBILENET_LIST)
_test_application_basic(app, module=module)
_test_application_notop(app, last_dim)
_test_application_variable_input_channels(app, last_dim)
Expand Down

0 comments on commit fb46b9a

Please sign in to comment.