Open floppycracken opened 5 days ago
Thank you for reporting the errors! Crello dataset has been updated to v5.0.0, but this codebase assumes v4.0.0. Please load the dataset as follows:
import datasets
dataset = datasets.load_dataset("cyberagent/crello", revision="4.0.0")
I will force the codebase to use v4.0.0. in the near future.
Thank you for your quick response, this worked. Also, I had another question, can the text be rendered with a transparent canvas? I want a separate text layer on its own.
When I run the code for the renderer I get this error: ValueError: 'textElement' is not in list The error occurs in the file crello.py file in line 137. The same code used to work a few months back, I wanted to know if something has been changed in the crello dataset since then which may be cause of the error. Thank You