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

Fix serialisation bug #132

Merged
merged 4 commits into from
Jul 22, 2023
Merged

Conversation

JamieMair
Copy link
Contributor

Closes #131

See commits for explanation.

@nomadbl would you be able to review & merge this fix?

The raw buffer is sometimes expanded for performance reasons, which leaves the buffer with additional zeros. This fix just returns the written bytes of the PipeBuffer, instead of including the extra padding.
src/utils.jl Outdated Show resolved Hide resolved
src/utils.jl Outdated Show resolved Hide resolved
src/utils.jl Outdated Show resolved Hide resolved
Co-authored-by: Lior Blech <nomadbl@gmail.com>
@JamieMair
Copy link
Contributor Author

@nomadbl I have taken the suggestion, thanks!

@nomadbl nomadbl merged commit a79d8bd into JuliaLogging:master Jul 22, 2023
7 checks passed
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.

Error when reading tfevents files written with TensorBoardLogger v0.1.21
2 participants