AttributeError: 'NoneType' object has no attribute 'nodes'
I tried to use your code. I installed everything that dependencies required. Following your guide, I typed below words in terminal.
python apls.py --test_method=gt_json_prop_json --output_name=gt_json_prop_json
--truth_dir=data/gt_json_prop_json/AOI_2_Vegas_Train/spacenetroads
--prop_dir=data/gt_json_prop_json/AOI_2_Vegas_Train/osm
I also checked that there are geojson files in indicated directories.
But after executing, I got this error message,

This error occur in this line.

Why they trigger error like that? Why G_gt_init has none value?
Thank you.
#8
I ran into the same problem. The issue is this line:
https://github.com/CosmiQ/apls/blob/b14ec4ee99e334e1f907ec0743fca6c6595da24f/apls/apls.py#L98
Since speed_key was not given, this line returns nothing. I changed it to return G_.
That unearthed another bug where outdir was not defined. To fix this, uncomment the code here:
https://github.com/CosmiQ/apls/blob/b14ec4ee99e334e1f907ec0743fca6c6595da24f/apls/apls.py#L2982
I haven't thoroughly inspected the output, but it runs now and produces a bunch of output files.