Closed mzweilin closed 1 year ago
Using dictionary input like {"rgb": tensor1, "depth": tensor2} should make it easier to compose multi-modal adversaries.
{"rgb": tensor1, "depth": tensor2}
The dictionary is later converted back to tensor so that models understand the input.
This is backward compatible with single-modal object detection, because single-modal is a special case of multi-modal.
Please check all relevant options.
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
pre-commit run -a
Make sure you had fun coding 🙃
What does this PR do?
Using dictionary input like
{"rgb": tensor1, "depth": tensor2}
should make it easier to compose multi-modal adversaries.The dictionary is later converted back to tensor so that models understand the input.
This is backward compatible with single-modal object detection, because single-modal is a special case of multi-modal.
Type of change
Please check all relevant options.
Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
Before submitting
pre-commit run -a
command without errorsDid you have fun?
Make sure you had fun coding 🙃