Closed WanLang0 closed 8 months ago
Thank you for your attention. I have uploaded our pose_stats.txt used in the Oxford and NCLT datasets, please refer to the updated content in the data folder. In fact, the pose_stats.txt is regenerated based on the dataset used during each training process, so these numbers are not fixed. You can simply drag them into your code folder.
Thank you for your reply. I have successfully solved the problem. I have a new question about how I am trying to run test.py
(base) ➜ NIDALoc-main python test.py --dataset_folder /home/featurize/data --dataset Oxford --val_batch_size 2 --resume_model work/NIDALoc-main/NIDALoc/checkpoint_epoch7.tar --log_dir /home/featurize/
Traceback (most recent call last):
File "test.py", line 18, in <module>
from models.model import BRLoc
ImportError: cannot import name 'BRLoc' from 'models.model'
It seems like it's just a naming issue. After modifying the from models.model import BRLoc
in test.py to from models.model import NIDALoc
, I can successfully run the code.
We have corrected the typo in test.py. Thank you for your discovery.
Thank you for your reply. I also want to ask, can this pose estimation code be used in a completely unfamiliar new environment after training in the old environment?
No, the training and test environment should be the same. The APR network memorizes the scene map into the network, so only a single network is needed to perform inference without using the database map again. If you want to explore its localization ability in unknown scenes, I suggest referring to map based image coordinate regression methods.
OK.I have no problem now.Thank you for your reply.
Hi,your work is excellent.I encountered an error while trying to train your code. Could you please help me take a look.Thanks!
datasetname:oxford_radar_robotcar_dataset_sample_tiny