This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update balanced_positive_negative_sampler.py (#93)
use cuda version torch.randperm to avoid copy from gpu to cpu and a fatal bug in multi-thread cpu version
- Loading branch information