Visit my page: https://www.csc.liv.ac.uk/~ramdrop/
ramdrop / autoplace Goto Github PK
View Code? Open in Web Editor NEWImplementation for the paper: AutoPlace: Robust Place Recognition with Single-chip Automotive Radar
Implementation for the paper: AutoPlace: Robust Place Recognition with Single-chip Automotive Radar
Visit my page: https://www.csc.liv.ac.uk/~ramdrop/
Thanks for your codes @ramdrop . I noticed some manner in common.py, when doing the knn search. The corresponding code is as followings:
def cal_recall_feat(gt, qFeat, dbFeat):
# --------------------------------- use faiss to do NN search -------------------------------- #
# faiss_index = faiss.IndexFlatL2(qFeat.shape[1])
# faiss_index.add(dbFeat)
# dists, predictions = faiss_index.search(qFeat, 20) # the results is sorted
# -------------------------------- use sklearn to do NN search ------------------------------- #
knn = NearestNeighbors(n_jobs=1)
knn.fit(dbFeat)
dists, predictions = knn.kneighbors(qFeat, 20)
recalls = cal_recall_pred(gt, predictions)
return recalls, dists, predictions
Can you share me some advice about how to use them? Thanks!
Hi @ramdrop , thanks for your amazing works and the release of the code. I find some positions that quite confuse me, and looking forward to your answer.
len(dbFeat)
, in my opinion, the n_values should be used? faiss_index = faiss.IndexFlatL2(opt.output_dim)
faiss_index.add(dbFeat)
# dists, predictions = faiss_index.search(qFeat, max(n_values)) # the results is sorted
dists, predictions = faiss_index.search(qFeat, len(dbFeat))
def getPositives(self):
# positives for evaluation are those within trivial threshold range
# fit NN to find them, search by radius
if self.positives is None:
knn = NearestNeighbors(n_jobs=-1)
knn.fit(self.dbStruct.utmDb)
self.distances, self.positives = knn.radius_neighbors(self.dbStruct.utmQ, radius=self.dbStruct.nonTrivPosDistSqThr**0.5)
return self.positives
Hello, thank you for sharing your code. But I don't quite understand why you didn't use all samples to generate the database?
Hello, I have some questions about the ". Pickle" file in the folder.
Question 1: Figure 1 is about the "features_test. Pickle" produced by "evaluate" after "se_dpr" training. I will open the line beginning with "gt": "1150、1151、2197、1148、1149、2196、2195、2194" respectively. The pictures under the corresponding "dateset / img" are shown in Figure 2. From the point cloud information shown in the figure, can it be understood that the upper row belongs to one scene and the lower row belongs to another scene? So why put them in an array in the ". Pickle" file?And they are not in positive order. For example, "2197" appears between "1151"and "1151".
Question 2: Figure 3 shows the data information of "se_te_results. Pickle". In the array of "preds", "1150,1277,4313" appear in "datebase" and "6113" appear in "test", but why do the numbers "37 "and "38 "not appear in "- test", "val", "train" and "- datebase"? What information do these numbers represent? Do they refer to the verified data set? Or other? I don't quite understand. And why do the middle of the data pass "..." Separated by ellipsis?
Dear Sir,
The paper experiments used radar data from nuScenes.
What is your opinion on using your method for 4D radar point clouds?
These point clouds have height info and often a 120 deg Horizontal FOV and 30 deg vertical FOV.
Thanks,
Hi author,
In formula (1), alpha is the heading Angle. Could you please tell me how this Angle is defined and which coordinate system is used as the reference? The sensor coordinate system, or the coordinate system at the rear of the vehicle.
Tks for your attention~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.