twosixlabs / armory

ARMORY Adversarial Robustness Evaluation Test Bed
MIT License
176 stars 67 forks source link

New armory utils rgb-convert utility #1890

Closed jprokos26 closed 1 year ago

jprokos26 commented 1 year ago

Allow user to view saved depth images interactively using matplotlib in various formats (original, linear, log).

When using X11 forwarding, can run the following to produce a matplotlib figure that can switch between the globbed images as well as between their depth formats:

armory utils rgb-convert ~/git/.armory/outputs/<RUN_ID>/saved_samples

Otherwise, can supply the --save or --output flag to write to disk.

TODO:

Demo Usage

Demo

jprokos26 commented 1 year ago

@christopherwoodall Assigning you for tracking, feel free to make the TODO change otherwise I plan to finish this PR by EOW and will request review then

jprokos26 commented 1 year ago

TODO, update structure to be like #1928