Skip to content

Instantly share code, notes, and snippets.

View acgtyrant's full-sized avatar

Isaac Ge acgtyrant

View GitHub Profile
@acgtyrant
acgtyrant / PKGBUILD
Created August 16, 2018 21:50
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 August 8, 2018 03:42
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')