Skip to content

Commit 64646c1

Browse files
author
Jake
committed
Added function to convert gdf contining polygons and a given image to yolo bounding box format
1 parent d7d23c9 commit 64646c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solaris/utils/core.py

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def _check_crs(input_crs):
8585
out_crs = input_crs.to_epsg()
8686
elif isinstance(input_crs, int):
8787
out_crs = input_crs
88+
elif input_crs is None:
89+
out_crs = input_crs
8890
return out_crs
8991

9092
def get_data_paths(path, infer=False):

0 commit comments

Comments
 (0)