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

invalid syntax #2

Closed
longkunxuluke opened this issue Feb 28, 2024 · 2 comments
Closed

invalid syntax #2

longkunxuluke opened this issue Feb 28, 2024 · 2 comments

Comments

@longkunxuluke
Copy link

Hi, it seems the syntax in https://github.com/tomer196/GaUDI/blob/main/train_edm.py#L186 is incorrect, probably change it to print("best_epoch=".format(best_epoch), "best_val_loss=".format(best_val_loss))?

@tomer196
Copy link
Owner

This is a standard f-string formatting (see link). I think that if you use Python version 3.6 or above it should work.
Please let me know if you need any more help.

@longkunxuluke
Copy link
Author

I am using 3.7.7 but there is still a syntax error. Anyway this should be good and please ignore the issue :)

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

2 participants