Skip to content

Getting very low map during mosaic training in 2 channel training #2138

Closed Answered by ajithvcoder
ajithvcoder asked this question in Q&A
Discussion options

You must be logged in to vote

problem was in below line in augment.py file

img4 = np.full((s * 2, s * 2, img.shape[2]), 114, dtype=np.uint8)

since it was uint8 values were being clipped to 0 to 255 range when i changed to np.int16 it was working fine in mosaic mode . Any other suggestions to make 2 channel training better kindly let me know

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glenn-jocher
Comment options

Answer selected by ajithvcoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants