Coder Social home page Coder Social logo

deepgps's Introduction

DeepGPS

This repository is the official PyTorch implementation of DeepGPS, which has been published in IEEE Transactions on Mobile Computing (TMC), a premier journal in the field of mobile computing.

If you find DeepGPS useful, please cite our paper with the following bibtex:

@article{liu2024deepgps,
title={{DeepGPS}: deep learning enhanced {GPS} positioning in urban canyons},
author={Liu, Zhidan and Liu, Jiancong and Xu, Xiaowen and Wu, Kaishun},
journal={IEEE Transactions on Mobile Computing},
volume={23},
number={1},
pages={376--392},
year={2024},
publisher={IEEE}
}

Installation

Requirements: Python >= 3.5, Anaconda3

  • Install Pytorch >= 1.8.1

pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html

The latest tested combination is: Python 3.8.5 + Pytorch 1.8.1 + cuda 11.1

Quick Start

python Predict.py

Sample Description

The samples in stored as .npz file. which can be accessed by:

import numpy as np
npz_file = np.load('deepgps.npz')

Each .npz file contains contextual information and ground truth for one position point. The content in npz_file is following:

- npz_file['arr_0']:Environment Matrix.
- npz_file['arr_1']:Four float number. (corrected latitude,corrected longitude, original latitude, original longitude)
- npz_file['arr_2']:The number of seconds that have passed since 00:00:00, 20 June 2019.
- npz_file['arr_3']:The relative coordinate of corrected point (The original point is at (50,50)).
- npz_file['arr_4']:Gaussian Peak Representaiton for ground truth.
- npz_file['arr_5']:Skyplot Matrix.

Download

The weights of a well-trained model can be downloaded from Baidu Cloud Storage (百度网盘) using the following information:

链接:https://pan.baidu.com/s/1ehZHT895ass9PEZ3AsFaTQ?pwd=jb0w
提取码:jb0w

Other Works

Please follow our group at https://github.com/SZU-BDUC/.

deepgps's People

Contributors

kingsleyljc avatar bducgroup avatar

Stargazers

Zhidan Liu avatar 三七 avatar  avatar Hu Xue avatar PeterParker avatar  avatar SZXtiantian avatar WBC-ML avatar  avatar LIU JIAHAO avatar Yuliang Li avatar

Watchers

 avatar

deepgps's Issues

DeepGPS model download

Hello:
DeepGPS is a handsome work!!! I would love to download this model to study. But there is an issue when I download this model using 'git lfs clone' or 'git lfs fetch' command. It shows that this repository is over its data quota and account responsible for LFS bandwidth should purchase more data packs to restore access. Meantime, I also fork this repo to my repo, it's also failed to download this model. Hence, I would like to bother you, how can I download this model? Thank you very much. Looking forward to your reply!

_pickle.UnpicklingError: invalid load key, 'v'.

<\DeepGPS-main> python Predict.py
len: 7
model_path ./trained_model.pkl
Traceback (most recent call last):
File "Predict.py", line 22, in
checkpoint = torch.load(model_path)
File "C:\Users\35381\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 593, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "C:\Users\35381\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\serialization.py", line 762, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.