Comments (3)
Your example is not reproducible, and yields no error on my machine.
Moreover, since by default torch.linspace generates only 100 points, it's likely that with your example, computations run on Torch engine (and not KeOps engine), which mean that this error comes most likely from your configuration.
Sending x and y to GPU is not a requirement since computations can be run on CPU, and sending them automatically would not follow Torch paradigm.
from geomloss.
You're right, it seems it is actually pytorch that is messing up somewhere, I'll close this.
from geomloss.
If anyone else gets this issue, this is what causes it: pytorch/pytorch#43300
from geomloss.
Related Issues (20)
- recipe for target 'libKeOpstorch05a7ba1328' failed HOT 2
- [Question] The most efficient way to calculate OTLoss between the rows of a 3D-tensor?
- Evaluating the Brenier potential in a new point
- ValueError: Maximum allowed size exceeded in degenerate case of Sinkhorn loss
- name 'generic_logsumexp' is not defined HOT 4
- ValueError: not enough values to unpack (expected 3, got 2)
- Best way to use scikit-learn distance functions for cost
- Error while running transfer_labels.py
- Custom cost function replicating p=2 doesn't match inbuilt? HOT 1
- Sinkhorn loss always renables gradient tracking
- Dual and primal loss don't align for small blur values HOT 1
- Support for half/single floating point numbers HOT 3
- Optionally return transport plans for the Sinkhorn loss HOT 3
- Wasserstein distance for p not in {1,2}
- sinkhorn_divergence for 1D images not workin HOT 4
- Hausdorff Distance HOT 1
- Has ImagesLoss ever been finished? Or is it still a WIP? HOT 4
- CUDA_ERROR_INVALID_SOURCE error when running geomloss on some GPUs HOT 1
- Can this library be used with torch.amp? HOT 1
- generic_logsumexp with larger point clouds HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geomloss.