Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
Segmentation datasets (`coco_segmentation_dataset()`, `pascal_segmentation_dataset()`, `cityscapes_dataset()`, `oxfordiiitpet_segmentation_dataset()` and `rf100_peixos_segmentation_dataset()`) now inherit the `segmentation_dataset` and `segmentation_target` classes.
Target transforms now dispatch on those classes instead of inspecting the target fields: `target_transform_resize()`, `target_transform_rotate()`, `target_transform_affine()` and `target_transform_sahi_crop()` take an `object_detection_target`, and `target_transform_coco_masks()` and `target_transform_trimap_masks()` a `segmentation_target`. A bare list is no longer accepted as a target, so a hand-built one needs its class set (@srishtiii28, #391).
* Added a "Visualization utilities" article covering `vision_make_grid()`, `draw_bounding_boxes()`, `draw_segmentation_masks()` and `draw_keypoints()` on the output of `model_rfdetr_base()` and `model_fcn_resnet50()` (@srishtiii28, #400).
* Added a "torchvision classes" vignette sketching what each class holds: the `image_with_bounding_box`, `image_with_rotated_box` and `image_with_segmentation_mask` items, their `object_detection_target` and `segmentation_target`, the `sahi_split` returned by `prepare_sahi_split()`, and which transform and drawing functions dispatch on each (@srishtiii28, #396).

## Bug fixes and improvements

Expand Down
14 changes: 10 additions & 4 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ development:

navbar:
structure:
left: [home, examples, reference, news]
left: [home, articles, examples, reference, news]
right: [github]
components:
articles: ~
articles:
text: Articles
menu:
- text: torchvision classes
href: articles/torchvision-classes.html
- text: Visualization utilities
href: articles/examples/visualization-utilities.html
- text: RF100 Dataset Catalog
href: articles/rf100-datasets.html
examples:
text: Examples
menu:
Expand All @@ -31,8 +39,6 @@ navbar:
href: articles/examples/fcnresnet.html
- text: keypoints
href: articles/examples/keypoints.html
- text: visualization-utilities
href: articles/examples/visualization-utilities.html

reference:
- title: Image Transforms
Expand Down
46 changes: 46 additions & 0 deletions vignettes/assets/dataset-item.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions vignettes/assets/detection-item.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions vignettes/assets/rotated-box-item.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions vignettes/assets/sahi-split.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions vignettes/assets/segmentation-item.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading