Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a Family and Tracking Returns Old Location #198

Open
cpressman opened this issue Jun 10, 2020 · 2 comments
Open

Deleting a Family and Tracking Returns Old Location #198

cpressman opened this issue Jun 10, 2020 · 2 comments

Comments

@cpressman
Copy link

This may all be connected with #156 but here are some more details:

I did all of this inside the latest docker container
Steps to reproduce:

  1. Use POST data for a device until you have enough data to make a guess (with the same location)
  2. Use GET location_basic to confirm the guess. Since I only trained 1 position the probability should be 1
  3. Use DELETE database
  4. Confirm using GET location that the family no longer exists
  5. Use POST data like in Can I run this on a raspberry pi? #1 but with an empty location. This should mean there is still no training data but the database file should get recreated
  6. Use GET location_basic like in step 2

Expected results:
No guesses found

Actual results
The location trained in step 1 is still guessed.

Possible solution:
When deleting the database the ai file should possibly get deleted as well.

@IoTThinks
Copy link

Seems to have the same issue.

@IoTThinks
Copy link

@cpressman Do you have any idea how to clear database of AI server?
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants