Skip to content

Instantly share code, notes, and snippets.

View ahendriksen's full-sized avatar

Allard Hendriksen ahendriksen

View GitHub Profile
@ahendriksen
ahendriksen / run_msd_vanilla.py
Last active October 23, 2020 18:54
An implementation of the MS-D network without custom convolutions. Allows comparing custom convolutions with PyTorch provided convolutions.
#!/usr/bin/env python3
"""
Requirements: msd_pytorch
Installation instruction can be found at https://github.com/ahendriksen/msd_pytorch
"""
import torch
import numpy as np
from msd_pytorch.msd_block import MSDBlockImpl2d

Converting my bibliography file to roam format

[2020-02-18 Tue]

I use this function to create a note file from a bibtex entry (the point is on the bibtex entry).

;;** Open notes from bibtex entry
;;;###autoload
(defun aah/org-ref-open-bibtex-notes ()
  "From a bibtex entry, open the notes if they exist.