Skip to content

Instantly share code, notes, and snippets.

View christopher-beckham's full-sized avatar

Christopher Beckham, PhD christopher-beckham

View GitHub Profile
from design_bench.disk_resource import DATA_DIR
from design_bench.disk_resource import google_drive_download
from deepchem.feat.smiles_tokenizer import SmilesTokenizer
import pandas as pd
import numpy as np
import argparse
import glob
import os
import math
absl-py==2.0.0
antlr4-python3-runtime==4.9.3
astunparse==1.6.3
black==23.12.1
cachetools==5.3.2
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
Cython==3.0.7
f 1 37 18
f 1 2 37
f 2 42 37
f 2 3 42
f 3 32 42
f 3 50 32
f 3 4 50
f 4 49 50
f 4 5 49
f 5 6 49

launch_any.sh:

#!/bin/bash
#SBATCH --ntasks=1
#SBATCH -c 4
#SBATCH --gres=gpu
#SBATCH --mem=12G

# ^ Flags here only are used if sbatch is invoked
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import numpy as np
import matplotlib.pyplot as plt
###########################################################
# dates.txt is created by `git log | grep Date > dates.txt`
###########################################################
hours = []
with open("dates.txt") as f:
for line in f:
hours.append( int(line.rstrip().split()[4].split(":")[0]) )
# Original source: https://github.com/eriklindernoren/PyTorch-GAN/blob/master/implementations/stargan/datasets.py
# Modified by Christopher Beckham
import glob
import random
import os
import numpy as np
import torch
from torch.utils.data import Dataset
import glob
import random
import os
import numpy as np
import torch
from torch.utils.data import Dataset
from PIL import Image
import torchvision.transforms as transforms
;; init.el --- Emacs configuration
;; INSTALL PACKAGES
;; --------------------------------------
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/") t)