Skip to content

Instantly share code, notes, and snippets.

View fehiepsi's full-sized avatar
🏠
Working from home

Du Phan fehiepsi

🏠
Working from home
View GitHub Profile
@fehiepsi
fehiepsi / linuxmint.ipynb
Created August 1, 2015 03:28
setup for my linuxmint
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
============================= test session starts ==============================
platform linux -- Python 3.5.4, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /home/fehiepsi/pyro, inifile: setup.cfg
plugins: nbval-0.9.0
collected 1 item
tests/infer/mcmc/test_hmc.py F [100%]
=================================== FAILURES ===================================
__________ test_hmc_conjugate_gaussian[dim=10_chain-len=3_num_obs=1] ___________
@fehiepsi
fehiepsi / kernel.ipynb
Created February 25, 2018 00:13
Gaussian Process kernel tests
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fehiepsi
fehiepsi / test_kernels.ipynb
Created February 27, 2018 12:58
Test GPR with various kernels
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fehiepsi
fehiepsi / gpts.ipynb
Last active March 20, 2018 19:17
GP timeseries
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fehiepsi
fehiepsi / opencdf.ipynb
Last active March 17, 2018 13:55
Hướng dẫn đọc file .nc
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fehiepsi
fehiepsi / core_dumped.txt
Last active March 22, 2018 17:14
Core dump error
*** Error in `python': free(): invalid pointer: 0x00007f9888000ac0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f98dc5fa7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f98dc60337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f98dc60753c]
/home/fehiepsi/miniconda3/envs/pyro/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so(_ZN5torch8autograd9generated15PermuteBackward5applyERKSt6vectorINS0_8VariableESaIS4_EE+0x18b)[0x7f98d3be610b]
/home/fehiepsi/miniconda3/envs/pyro/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so(_ZN5torch8autograd6Engine17evaluate_functionERNS0_12FunctionTaskE+0x1d76)[0x7f98d3a72fa6]
/home/fehiepsi/miniconda3/envs/pyro/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so(_ZN5torch8autograd6Engine11thread_mainEPNS0_9GraphTaskE+0xe7)[0x7f98d3a73947]
/home/fehiepsi/miniconda3/envs/pyro/lib/python3.5/site-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so(_ZN5torch8autograd6Engine11thread_initEi+0x72)[0x7
backtrace:
#0 0x00007ffff7825428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
resultvar = 0
pid = 26862
selftid = 26871
#1 0x00007ffff782702a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x6435653766666666, sa_sigaction = 0x6435653766666666}, sa_mask = {__val = {8083248238249914416, 3472328296227680288, 2319406834570502192, 7378697628689244208, 3256155515003626807, 7234530764361459255, 3276212736508309555, 3472328296227676272, 3472339291342909488, 7378697426072252448, 3472328524753680230, 7365468305578407725, 8606977229197436517, 3472328296226648109, 3475143045726351408, 7378645556122361904}}, sa_flags = 1714906726, sa_restorer = 0x6f}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff78677ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7980ed8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
@fehiepsi
fehiepsi / gp2d.ipynb
Created March 27, 2018 07:35
pyro test error?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fehiepsi
fehiepsi / gp.ipynb
Created March 30, 2018 09:58
precision matrix error
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.