Skip to content

a small question #5

@ustczhouyu

Description

@ustczhouyu

hello, thank you for sharing the codes. I cannot understand the following line in dataset.py:
out_of_char = f'[^{self.opt.character}]'
self.opt.character is 0123456789abcdefghijklmnopqrstuvwxyz
out_of_char is [^**0123456789abcdefghijklmnopqrstuvwxyz**]
can you tell me what the three new characters [ ,^, and ] mean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions