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

Logger cannot deal with np.array #12

Open
GGDRriedel opened this issue Mar 26, 2019 · 0 comments
Open

Logger cannot deal with np.array #12

GGDRriedel opened this issue Mar 26, 2019 · 0 comments

Comments

@GGDRriedel
Copy link

Line 98 in train.py needs to be changed from

logger.log_scalar('training_loss', var_to_np(loss),i)

to
logger.log_scalar('training_loss', var_to_np(loss).tolist(),i)

Uzaaft added a commit to Uzaaft/CNN-for-ASI that referenced this issue Jan 17, 2020
Changed line 98 to fix Issue nr waldeland#12
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

1 participant