-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix examples and input shapes #8
Comments
Hey, @jwitos, thanks for the report!
Yes, I will rephrase it, thanks. In fact, it is possible to use single-channel images, but then you need to define a custom model that works with those single-channel images. I am planning to document such an option. |
|
Hi, I noticed two issues with the docs / comments:
_target_: autoalbument.faster_autoaugment.models.SemanticSegmentationModel
instruction withinsemantic_segmentation_model
section. Search fails without that line.dataset.py
file, comments say that "mask
should be a NumPy array with the shape [height, width, num_classes]" and "image
should be a NumPy array with the shape [height, width, num_channels]". Meanwhile, it looks like channels should be first, i.e. [channels, height, width]. This was the only combination that works anyway.Also, I think that comment "If an image contains three color channels" could be rephrases -- it suggests that e.g. single-channel images are accepted, but in fact currently input probably always requires 3 channels.
Thanks
The text was updated successfully, but these errors were encountered: