apls icon indicating copy to clipboard operation
apls copied to clipboard

Python code to evaluate the APLS metric

Results 9 apls issues
Sort by recently updated
recently updated
newest added

https://github.com/CosmiQ/apls/blob/4a78807cafde62b773e3a1190177526853c61207/apls/apls_utils.py#L483 The script doesnt transform the geojson to UTM, as the given parameter of the CRS is its own input CRS (WGS84, EPSG:4326). To fix this Issue, remove the inGDF.crs...

```apls_utils.py``` only have ```_get_road_buffer``` function, after I rename it to ```get_road_buffer```, I can run this script to generate RGB image and mask, but the generated mask image is pure dark,...

I am calculating apls metric for comparison of two geojson's and getting this error : ``` Traceback (most recent call last): File "apls.py", line 3690, in main() File "apls.py", line...

does anyone have this problem? `['gdal_translate', '-ot', 'Byte', '-of', 'GTiff', '-co', '"PHOTOMETRIC=rgb"', '-scale_1', '149.0', '790.0', '0', '255', '-scale_2', '301.0', '1022.0', '0', '255', '-scale_3', '263.0', '712.0', '0', '255', '/data/hucheng/SpaceNet_Roads_Sample/AOI_2_Vegas_Roads_Sample/RGB-PanSharpen/RGB-PanSharpen_AOI_2_Vegas_img699.tif', '/data/hucheng/SpaceNet_Roads_Sample/AOI_2_Vegas_Roads_Sample/RGB-PanSharpen_8bit/RGB-PanSharpen_AOI_2_Vegas_img699.tif'] Input...

I had a hard time to install apls to work properly because GDAL is very hard to install with correct version of `2.4.0`. Heveby, I proposes two changes to make...

Please relax the requirements gdal to some things like: ``` GDAL>=2.2.0 ``` It will make the install GDAL easier!

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...

Please help on this issue. ``` Gathering files... Creating networkx graph from downloaded OSM data... Added edge lengths to graph in 0.01 seconds Created graph with 94 nodes and 230...