Skip to content

Training text detection model with a custom dataset - target ValueError #1714

Answered by felixdittrich92
lkosh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lkosh 👋,

Looks like an small overflow:

modify:

if target is not None:

to:

if target is not None:
     target = np.clip(target, 0, 1)

I will open a PR to fix this soon.

Best regards,
Felix

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lkosh
Comment options

@felixdittrich92
Comment options

Answer selected by lkosh
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