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

Read tensorboard logs #2

Merged
merged 3 commits into from
Dec 28, 2021
Merged

Conversation

bnmajor
Copy link
Collaborator

@bnmajor bnmajor commented Dec 14, 2021

Parse existing event files to load as image and (optionally) label.

@thewtex thewtex self-requested a review December 16, 2021 16:17
@bnmajor bnmajor marked this pull request as ready for review December 28, 2021 18:35
np_arr = tf.io.decode_image(eis).numpy()
if np_arr.ndim == 4:
np_arr = np_arr[:,:,:,0]
response['images'].append({'array': np_arr.tolist()})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are optimizations to make here in the future, but will work for now 🚀

@thewtex thewtex merged commit 429ce5e into KitwareMedical:main Dec 28, 2021
@bnmajor bnmajor deleted the read-tensorboard-logs branch December 28, 2021 20:26
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