suyukun666 / S2CNet

Official PyTorch implementation of the “Spatial-Semantic Collaborative Cropping for User Generated Content”. (AAAI24)
40 stars 4 forks source link

How to test on my own images #8

Open wyy-thu opened 6 months ago

wyy-thu commented 6 months ago

I have some images, and I want to get cropped sub-images for each image.

aa-oo commented 3 months ago

Hello, I've encountered the same issue. Could you kindly let me know if you've managed to resolve it, and if so, how did you go about it?

dongdk commented 2 months ago

+1

dongdk commented 2 months ago

hi @wyy-thu i have finished the pipleline of testing my own dataset, first, u should use the faster-rcnn-vg to output the top-score bbox (please note that, the output format of bbox is yxyx), second, u can use generate_bboxes to generate the predefined crops (please note that the output format of bbox is yxyx), finally, run the test.py (should modify the code to support your own dataset).