Skip to content

Commit

Permalink
Refactor test_prepare_checkpoints (openvinotoolkit#827)
Browse files Browse the repository at this point in the history
* Required checkpoint path in `prepare_checkpoints.py`
* Refactored test to load real checkpoints from sanity test_model_train to properly test  `prepare_checkpoints.py`, which required checkpoint path. (It was impossible to make new small model to pass it into prepare checkpoint because prepare checkpoint can build only yolo, retinanet and maskrcnn models.) 

Local check shows new version of the test small time consuming (~30 sec ~= not refactored test running time).
  • Loading branch information
daniil-lyakhov authored Jul 7, 2021
1 parent df7ba60 commit 485140c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions examples/tensorflow/common/argparser.py
Git LFS file not shown
4 changes: 2 additions & 2 deletions examples/tensorflow/common/prepare_checkpoint.py
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/tensorflow/test_sanity_sample.py
Git LFS file not shown

0 comments on commit 485140c

Please sign in to comment.