Comments (2)
Hi @ihmc3jn09hk ,
Some datasets in the zoo are already preprocessed so the shape area is equal to one, so that's not a problem.
Concerning your question, here a way to obtain the p2p map:
from sklearn.neighbors import NearestNeighbors
neigh = NearestNeighbors(n_jobs=-1)
neigh.fit(np.matmul(evecs_x, C1.transpose()))
p2p = neigh.kneighbors(evecs_y, 1, return_distance=False).flatten()
I'm using sklearn because it's faster, but you can use numpy as well. Hope this answer your question.
from surfmnet-pytorch.
Hi @ihmc3jn09hk ,
Some datasets in the zoo are already preprocessed so the shape area is equal to one, so that's not a problem.Concerning your question, here a way to obtain the p2p map:
from sklearn.neighbors import NearestNeighbors neigh = NearestNeighbors(n_jobs=-1) neigh.fit(np.matmul(evecs_x, C1.transpose())) p2p = neigh.kneighbors(evecs_y, 1, return_distance=False).flatten()I'm using sklearn because it's faster, but you can use numpy as well. Hope this answer your question.
Thanks @pvnieo , I have tried the suggested one with some modifications as following to resolve some error. But the out p2p
is identical to the one I had before. I think the problem is pin-pointed to my trained-weights.
It would be kind if you can share what parameters you used for training and a result sample overfit weight file for me to test my machine is broken ?
Shame, this part is my implementation problem.
With the weights, the output p2p
for all 1500 matches is just a single point in shape X.
Finally got it working for the tiny set. The code works in training mode while I was using evaluation for the whole time.
The training curves are for k=60 and k=120.
from surfmnet-pytorch.
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 surfmnet-pytorch.