Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bugfix: save_dir TypeError #10

Merged
merged 1 commit into from
Mar 28, 2024
Merged

🐛 Bugfix: save_dir TypeError #10

merged 1 commit into from
Mar 28, 2024

Conversation

Hitbee-dev
Copy link

Hi There. Fixed a bug.

ERROR Point

class COCO2labelImg:
    def __init__(...):
        ...
        self.save_dir = save_dir                 <----- Error Point

ERROR Message:

    self.save_train_dir = self.save_dir / "train"
TypeError: unsupported operand type(s) for /: 'str' and 'str'

Bugfix:

class COCO2labelImg:
    def __init__(...):
        ...
        self.save_dir = Path(save_dir)

Thank u.

@SWHL SWHL merged commit e5f34f0 into RapidAI:main Mar 28, 2024
@SWHL
Copy link
Member

SWHL commented Mar 28, 2024

LGTM

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.

2 participants