lhoyer / HRDA

[ECCV22] Official Implementation of HRDA: Context-Aware High-Resolution Domain-Adaptive Semantic Segmentation
Other
231 stars 32 forks source link

What is the line of code for cropping an image? #34

Closed longmalongma closed 9 months ago

longmalongma commented 1 year ago

What is the line of code for cropping an image?

lhoyer commented 1 year ago

The detail crops are generated here: https://github.com/lhoyer/HRDA/blob/b980dece834de0b4bad2b94fc7218ae539cdaf1e/mmseg/models/segmentors/hrda_encoder_decoder.py#L201