Skip to content

Instantly share code, notes, and snippets.

View sailfish009's full-sized avatar

sailfish009

  • freelancer
  • South Korea
View GitHub Profile
# ERROR: Package '<...>' requires a different Python: <version> not in '>=..'
pip install --ignore-requires-python <some_python_package>.whl
python pip-20.2.3-py2.py3-none-any.whl/pip install --no-index pip-20.2.3-py2.py3-none-any.whl
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://wiki.python.org/moin/DebuggingWithGdb
http://www.scipy-lectures.org/advanced/debugging/#debugging-segmentation-faults-using-gdb
https://discuss.pytorch.org/t/how-to-use-pdb-or-gdb-debug-from-python-into-c-c-code/8152
jemalloc 5.0.1 TLS error: cannot allocate memory in static TLS block
For performance reasons jemalloc 5 uses more TLS space. This causes isses for dlopen jemalloc where the pre allocated TLS may not be enough for jemalloc. The option --disable-initial-exec-tls in INSTALL.md should solve it for you.
https://github.com/jemalloc/jemalloc/issues/1237
libc++abi undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
add -lstdc++ linker flag.
https://ax.dev/tutorials/tune_cnn.html
Loaded pretrained weights for efficientnet-b1
==================== Fold 1 ====================
Loaded pretrained weights for efficientnet-b1
Epoch 001: | Loss: 70.813 | Train acc: 0.982 | Val acc: 0.984 | Val roc_auc: 0.883 | Training time: 0:50:11
Epoch 002: | Loss: 63.951 | Train acc: 0.982 | Val acc: 0.983 | Val roc_auc: 0.840 | Training time: 0:50:02
Epoch 003: | Loss: 59.879 | Train acc: 0.982 | Val acc: 0.982 | Val roc_auc: 0.890 | Training time: 0:50:02
Epoch 004: | Loss: 58.594 | Train acc: 0.982 | Val acc: 0.984 | Val roc_auc: 0.846 | Training time: 0:50:02
Epoch 005: | Loss: 57.671 | Train acc: 0.982 | Val acc: 0.984 | Val roc_auc: 0.869 | Training time: 0:50:02
Epoch 5: reducing learning rate of group 0 to 2.0000e-04.
Epoch 006: | Loss: 49.297 | Train acc: 0.982 | Val acc: 0.980 | Val roc_auc: 0.897 | Training time: 0:50:02
https://forums.gentoo.org/viewtopic-t-1108872-start-0.html
# Python3+ instead of python2.7
# by Pavel Kabikov aka bitMan
--- chromium-81.0.4044.26/build/toolchain/gcc_solink_wrapper.py 2020-02-20 03:32:08.000000000 +0300
+++ /tmp/gcc_solink_wrapper.py 2020-02-27 00:45:25.526917216 +0300
@@ -11,6 +11,7 @@
"""
HISTTIMEFORMAT="%d/%m/%y %T "
history