Skip to content

Commit

Permalink
fix the bug of cifar 10 transform and pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
hellowaywewe committed Mar 22, 2022
1 parent 4a1b90b commit c24238c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
branches: [ main ]

env:
MS_DEV_ENABLE_FALLBACK: 0

jobs:
pytest:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion tinyms/vision/configs/transform_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Cifar10Transform:
labels: ['airplane', 'automobile', 'bird', 'cat', 'deer', 'dog', 'frog', 'horse', 'ship', 'truck']
transform_strategy: ['TOP1_CLASS', 'TOP3_CLASS', 'TOP5_CLASS']
random_crop:
size: [224, 224]
size: [32, 32]
padding: [4, 4, 4, 4]
random_horizontal_flip:
prob: 0.5
Expand Down

0 comments on commit c24238c

Please sign in to comment.