Skip to content

Commit

Permalink
Merge pull request #727 from weecology/bw4sz-patch-3
Browse files Browse the repository at this point in the history
Update annotation.md
  • Loading branch information
ethanwhite authored Jul 22, 2024
2 parents e0dbabd + 0f389da commit 290062c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/annotation.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ annotations = preprocess.split_raster(
annotations_file="full_annotations.csv",
patch_size=450,
patch_overlap=0,
base_dir=directory_to_save_crops,
save_dir=directory_to_save_crops,
allow_empty=False
)
```
@@ -53,7 +53,7 @@ raster = get_data("2019_YELL_2_528000_4978000_image_crop2.png")

output_crops = preprocess.split_raster(path_to_raster=raster,
annotations_file=None,
base_dir=tmpdir,
save_dir=tmpdir,
patch_size=500,
patch_overlap=0)

@@ -237,4 +237,4 @@ data = {
}
df = pd.DataFrame(data)
asyncio.run(download_crops(df, "/path/to/tmp_dir"))
```
```

0 comments on commit 290062c

Please sign in to comment.