Skip to content

detect_number not working as expected? #2

Description

@skasai5296

Thanks for the great repo!

I was looking at how you parsed the captions, but in adversarial_attack/numeral.py the program
hangs with a sentence ending in a number, with no period.

detect_number("she is 13")

I made a workaround by converting line 24, continue to break. Could this cause unintended behavior?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions