Skip to content

Conversation

sieu-n
Copy link

@sieu-n sieu-n commented Jun 26, 2025

  • IDRNet: Change negative value from -1e16 to -1e4 to prevent fp16 overflow
  • ISNet: Fix tensor creation to ensure proper device and dtype handling
  • OCRNet: Fix spatial gather module input size mismatch by interpolating seg_logits_aux

These changes ensure models work correctly with fp16 (half precision) training.

🤖 Generated with Claude Code

- IDRNet: Change negative value from -1e16 to -1e4 to prevent fp16 overflow
- ISNet: Fix tensor creation to ensure proper device and dtype handling
- OCRNet: Fix spatial gather module input size mismatch by interpolating seg_logits_aux

These changes ensure models work correctly with fp16 (half precision) training.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant