Skip to content

Commit

Permalink
Update model, clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbetti Davide (Student Com16) committed Feb 5, 2022
1 parent b55f4be commit 310b219
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 86 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/github-actions.yml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="gpsclean",
version="0.4.0",
version="1.0.0",
author="Davide Sbetti",
author_email="[email protected]",
description="An application to correct a GPS trace using machine learning techniques",
Expand Down
2 changes: 1 addition & 1 deletion src/gpsclean.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: gpsclean
Version: 0.4.0
Version: 1.0.0
Summary: An application to correct a GPS trace using machine learning techniques
Home-page: https://github.com/sbettid/GPSClean
Author: Davide Sbetti
Expand Down
2 changes: 1 addition & 1 deletion src/gpsclean.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ src/gpsclean.egg-info/dependency_links.txt
src/gpsclean.egg-info/entry_points.txt
src/gpsclean.egg-info/requires.txt
src/gpsclean.egg-info/top_level.txt
src/gpsclean/data/model_42t_traces.tflite
src/gpsclean/data/model.tflite
Binary file added src/gpsclean/data/model.tflite
Binary file not shown.
Binary file removed src/gpsclean/data/model_42t_traces.tflite
Binary file not shown.
4 changes: 2 additions & 2 deletions src/gpsclean/gpsclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import matplotlib

#current version of the program
__VERSION__ = "0.4.0"
__VERSION__ = "1.0.0"

def main():

Expand Down Expand Up @@ -69,7 +69,7 @@ def main():
#load the already trained model
print("Loading the model...")
dirPath = Path(__file__).absolute().parent
modelPath = dirPath.joinpath("data/model_42t_traces.tflite")
modelPath = dirPath.joinpath("data/model.tflite")
interpreter = tflite.Interpreter(model_path=str(modelPath))

#predict the trace, creating segments using a window of 15 points and a step of 2
Expand Down
40 changes: 0 additions & 40 deletions src/gpsclean/gpsclean.spec

This file was deleted.

0 comments on commit 310b219

Please sign in to comment.