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

UnicodeEncodeError #1

Open
Satyajit1993 opened this issue May 13, 2023 · 2 comments
Open

UnicodeEncodeError #1

Satyajit1993 opened this issue May 13, 2023 · 2 comments

Comments

@Satyajit1993
Copy link

While running

trainer.train(model=model,
training_params=train_params,
train_loader=train_data,
valid_loader=val_data)

this command I am getting an error as

'charmap' codec can't encode characters in position character maps to

@AarohiSingla
Copy link
Owner

This type of error commonly occurs when there are non-ASCII characters in the data or the code file.
In Python, the recommended encoding is UTF-8. Check the encoding of your code file and ensure it matches.

@Louis-Dupont
Copy link

@Satyajit1993 is it the exact same error as in this issue Deci-AI/super-gradients#999 ?
If yes, feel free to copy/paste the full error to that issue, along with information about your environment (like the person who opened the issue), this would help us better understand and fix it!

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

No branches or pull requests

3 participants