Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clone batch_coords tensor to prevent Too many open files error (#182)
When running wsinfer in a windows subsystem for linux environment, i got the error below. Appending a tensor from the dataloader to a list can cause this issue, and cloning the tensor solves it. This commit clones the tensor. ``` RuntimeError: Too many open files. Communication with the workers is no longer possible. Please increase the limit using `ulimit -n` in the shell or change the sharing strategy by calling `torch.multiprocessing.set_sharing_strategy('file_system')` at the beginning of your code ```
- Loading branch information