Skip to content

Instantly share code, notes, and snippets.

Avatar

Isaac Ge acgtyrant

View GitHub Profile
@acgtyrant
acgtyrant / PKGBUILD
Created Aug 16, 2018
llpp-git PKGBUILD
View PKGBUILD
# Contributor: holos
# Contributor: Michael Witten <mfwitten>
# Contributor: Vladimir Gorbunov <zaza>
# Contributor: Earnest
# Contributor: Attila Toth <menta>
# Contributor: Flu
# Contributor: menta <attila dot toth at ch dot bme dot hu>
# Contributor: hero <erdetb at web dot de>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=llpp-git
@acgtyrant
acgtyrant / test.py
Last active Aug 8, 2018
torch.multiprocessing 被阻塞
View test.py
import torch
def _process(queue):
input_ = queue.get()
queue.put((input_,))
def test_syncbn():
torch.multiprocessing.set_start_method('spawn')