Open ariel415el opened 2 years ago
Can you try after resizing to 384x512? I think this step is needed because to match the resolution that the car model is trained for
No, when I changed https://github.com/adobe-research/sam_inversion/blob/4852a2a033ac5af981f91b9eb2baa3df6e2229fa/src/sam_inv_optimization.py#L141 to T_full = build_t(W=512, H=384) it didnt work but T_full = build_t(W=256, H=192) worked. Can you explain this? How can I run inference on bigger images?
I'm running
python src/sam_inv_optimization.py --image_category "cars" --image_path car1.jpg --output_path "output/cars/" --sweep_thresholds --generate_edits
where car1.jpg is a 1200x800 rgb image. I get the following errors: