Skip to content

Instantly share code, notes, and snippets.

View enakai00's full-sized avatar

Etsuji Nakai enakai00

View GitHub Profile
@enakai00
enakai00 / chap5.ipynb
Last active August 15, 2022 00:19
Pythonで始める数理最適化・第5章の再実装
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@enakai00
enakai00 / autoencoder-with-supplemental-input.ipynb
Created June 4, 2022 10:51
Autoencoder with supplemental input
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@enakai00
enakai00 / untitled1.ipynb
Last active May 8, 2022 08:40
Untitled1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@enakai00
enakai00 / qcnn_intro.ipynb
Created March 15, 2022 05:14
qcnn_intro.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
model = train_and_evaluate(batch_size=32, lrate=0.0001, l1=0, l2=0, num_hidden=128)
=====
[Output]
2021-12-03 08:48:43.805276: W tensorflow/core/common_runtime/bfc_allocator.cc:457] Allocator (GPU_0_bfc) ran out of memory trying to allocate 73.50MiB (rounded to 77070336)requested by op Mul
If the cause is memory fragmentation maybe the environment variable 'TF_GPU_ALLOCATOR=cuda_malloc_async' will improve the situation.
Current allocation summary follows.
Current allocation summary follows.
2021-12-03 08:48:43.805401: I tensorflow/core/common_runtime/bfc_allocator.cc:1004] BFCAllocator dump for GPU_0_bfc
2021-12-03 08:48:43.805463: I tensorflow/core/common_runtime/bfc_allocator.cc:1011] Bin (256): Total Chunks: 33, Chunks in use: 32. 8.2KiB allocated for chunks. 8.0KiB in use in bin. 217B client-requested in use in bin.
2021-12-03 08:48:43.805473: I tensorflow/core/common_runtime/bfc_allocator.cc:1011] Bin (512): Total Chunks: 3, Chunks in use: 3. 1.5KiB allocated for chunks. 1.5KiB in use in bin. 1.5KiB c
@enakai00
enakai00 / logistic-regression-example.ipynb
Created December 1, 2021 13:07
Logistic regression example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.