Giter Site home page Giter Site logo

COCO Annotator Next Generation about coco-annotator HOT 2 OPEN

SixK avatar SixK commented on June 12, 2024 1
COCO Annotator Next Generation

from coco-annotator.

Comments (2)

ariefwijaya avatar ariefwijaya commented on June 12, 2024

Abandoned projects make me have trust issues. But anw, really appreciate your ideas. We can try and move it when it's ready.

Question:

  1. Will the database I used previously be lost or can it still be used?

from coco-annotator.

SixK avatar SixK commented on June 12, 2024

As said in README.md of the project, python werkzeuk3 module introduced a breaking change on password hash type.
You will have to migrate each user account one by one using provided python script "change_password_hash_type.py"
And you can only do it if you know all users password.
Here are variables to modify for each users in file:
user="admin"
password="admin"

Backup/export json files, backup dataset images and mongo database if you can before migrating

First start mongodb database starting coco-annotator normally: docker-compose up

then you can install necessary packages (yes werkzeug 2.0.3 to migrate, then you can install any version or remove package):
pip install werkzeug==2.0.3
pip install pymongo

Then run this script for all users:
python change_password_hash_type.py

Another way would be to export all datasets and json files, drop database, create users and import all datasets and json.

from coco-annotator.

Related Issues (20)

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.