I managed to get Prodigy working with mysql-server:8.0 in a docker container. However, there was an issue that I’ve had to resolve manually and I believe could be fixed in some future release:
Prodigy creates a table called
example. In this table, there is a column called
blob as the data type which is used to store the content (for example an image if you are labelling images.) The problem is when the images are too big to be stored in which case peewee throws an error:
peewee.DataError: (1406, "Data too long for column 'content' at row 1")
The way I’ve worked around this, for now, is to connect to the database manually after the first time the database is set up and run the following:
alter table example modify content LONGBLOB;
This now allows larger images to be stored.