https://github.com/calico/ylmcv
HQ first cloned this on Apple Macbook, but failed to create the conda environment.
HQ then tried on ECS323lambda, and was able to create the conda environment after correcting a typo.
However, HQ ran into a pickle load error. After googling, HQ installed git-lfs
sudo apt-get install git-lfs
HQ then re-cloned the repo, and then the test script runs.
(base) hqin@ECS323Lambda:~/ylmcv$ conda activate ylmcv
(ylmcv) hqin@ECS323Lambda:~/ylmcv$ ls
checkpoint dataset.py environment.yml examples img_aug.py layers.py LICENSE main_predict.py model README.md transforms.py util.py
(ylmcv) hqin@ECS323Lambda:~/ylmcv$ bash examples/count.sh
using model: model.model_count
number of test samples 5
Testing round 1
Testing round 2
Testing round 3
(ylmcv) hqin@ECS323Lambda:~/ylmcv$ cd examples/
(ylmcv) hqin@ECS323Lambda:~/ylmcv/examples$ ls output/
cnt_output.pkl
(ylmcv) hqin@ECS323Lambda:~/ylmcv/examples$ cd ..
(ylmcv) hqin@ECS323Lambda:~/ylmcv$ bash examples/
count.sh data/ event.sh output/ test_list.txt
(ylmcv) hqin@ECS323Lambda:~/ylmcv$ bash examples/event.sh
using model: model.model_event01
number of test samples 5
Testing round 1
Testing round 2
Testing round 3
using model: model.model_event02
number of test samples 5
Testing round 1
Testing round 2
Testing round 3
(ylmcv) hqin@ECS323Lambda:~/ylmcv$
No comments:
Post a Comment