trying to get Object detection to work #2081
georgeper2001
started this conversation in
General
Replies: 2 comments 3 replies
-
This looks like an error from an older Raster Vision version. I recommend using a newer docker image (https://quay.io/repository/azavea/raster-vision?tab=tags). Also, please make sure to remove any potentially sensitive/confidential information when sharing code. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Just FYI. I needed at least pytorch-1.10.2 to make the script work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Initially the scripts were written for chip detection. I found an example of object detect and made changes. I have attached my python script file chevron_pj_object2.zip. I use the command:
rastervision run local chevron_pj_object2.py -a root_uri /tmp/hello -a phase3_1 chevron_pool_NM.json -a phase3_2 base_pool.json -a phase7 chevron_pool_KERN.json -a phase8 base_abnormal.json -a phase9 chevron_pool_SM2.json -a batch_size 12 -a epochs 32 -a arch resnet-50 analyze chip train
It goes through the analyze process fine. When it gets to the train process it gets this error:
I need help on what to do, any help is appreciated.
attached file: chevron_pj_object2.zip
Beta Was this translation helpful? Give feedback.
All reactions