Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ packer-images git:(specops) ✗ PACKER_LOG=1 packer build -force nanopore.json | |
2018/01/30 19:06:30 [INFO] Packer version: 1.1.0 | |
2018/01/30 19:06:30 Packer Target OS/Arch: darwin amd64 | |
2018/01/30 19:06:30 Built with Go Version: go1.9 | |
2018/01/30 19:06:30 Detected home directory from env var: /Users/james.webber | |
2018/01/30 19:06:30 Using internal plugin for vmware-iso | |
2018/01/30 19:06:30 Using internal plugin for vmware-vmx | |
2018/01/30 19:06:30 Using internal plugin for googlecompute | |
2018/01/30 19:06:30 Using internal plugin for hyperv-iso | |
2018/01/30 19:06:30 Using internal plugin for parallels-pvm |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import gzip | |
import itertools | |
import os | |
import multiprocessing | |
from collections import Counter, defaultdict |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
# cupy fails to import when there are no GPUs. This check means that the module can | |
# still be imported in that case, but of course the classes won't work. | |
if torch.cuda.is_available(): | |
import cupy | |
from torch.utils.data import DataLoader, Dataset | |
from torch.utils.dlpack import from_dlpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::collections::LinkedList; | |
use std::hash::Hash; | |
use counter::Counter; | |
use rayon::prelude::*; | |
#[derive(Default)] | |
pub struct ParCounter<T: Hash + Eq, N = usize>(Counter<T, N>); | |
impl<T: Hash + Eq + Clone, N: Clone + Ord> ParCounter<T, N> { |
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.
OlderNewer