LabForComputationalVision / plenoptic

Visualize/test models for visual representation by synthesizing images.
https://plenoptic.readthedocs.io/en/latest/
MIT License
53 stars 8 forks source link

Add property-based testing? #145

Open billbrod opened 2 years ago

billbrod commented 2 years ago

Would this be useful? https://hypothesis.readthedocs.io/en/latest/

Basically, it checks a bunch of random inputs of a specified type and ensures that the output has some property. We could use it to ensure that the models always return 3d or 4d outputs for any 4d input?

billbrod commented 11 months ago

Another useful explanation of this