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 (facebookresearch#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