Comments (3)
Hi,
it seems like they changed the structure of the POT library which is used to get the discrete OT solution in the plotting code.
To fix the issue, in
src/plotters.py
, you should changeot.weak_optimal_transport
toot.weak.weak_optimal_transport
.Hope this helps!
Best wishes, Alex
Hi Alex,
I have successfully solved the above issue. The problem is that the POT version POT==0.4.0
in requirement.txt
is a little bit old.
I have updated it to pip install POT==0.8.2
and the plotter.py
works.
Thank you again for you work!
Best wishes,
Mingyang
from neuraloptimaltransport.
Hi,
it seems like they changed the structure of the POT library which is used to get the discrete OT solution in the plotting code.
To fix the issue, in src/plotters.py
, you should change
ot.weak_optimal_transport
to
ot.weak.weak_optimal_transport
.
Hope this helps!
Best wishes,
Alex
from neuraloptimaltransport.
Hi,
it seems like they changed the structure of the POT library which is used to get the discrete OT solution in the plotting code.
To fix the issue, in
src/plotters.py
, you should changeot.weak_optimal_transport
toot.weak.weak_optimal_transport
.Hope this helps!
Best wishes, Alex
Hi Alex,
Thanks! As suggested, I have changed ot.weak_optimal_transport
in src/plotters.py
to ot.weak.weak_optimal_transport
, as shown in the following. But the above issue still exists.
Do you know why? Maybe I should ask for POT for some solution.
Best wishes,
Mingyang
from neuraloptimaltransport.
Related Issues (6)
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 neuraloptimaltransport.