CreateML image extraction ends in `Unexpected error`, opens `Create New Project` window

I'm trying to train an image classification model in CreateML application using the DF20 dataset from https://sites.google.com/view/danish-fungi-dataset?pli=1

When I tap on Train, the application begins to extract the necessary data.

This process ends after the first cca 30 000 images. The footer shows Unexpected error and (strangely) a new window opens to Create New Project. No further info about the error is provided anywhere.

The training succeeds when using a smaller portion of the dataset (<20 000 images). Anything over 40 000 images results in this error.

Any ideas?

I tried to train the model programmatically in a Swift Playground. This process also failed and returned the following error (I have no idea what it means). Training on a smaller subset of the dataset succeeds.

remoteProcessWasInterrupted

Error: ["ThreadID": 1278902, "ThreadCrashed": 1, "StackFrameDictionaries": <__NSArrayM 0x600001fe0570>(

{
    StackFrameModule = vImage;
    StackFramePC = 7223916652;
    StackFrameSymbolName = "__ERROR_Buffer_Write__Too_Small_For_Arguments_To_vImage__CheckBacktrace";

},
{
    StackFrameModule = vImage;
    StackFramePC = 7223916524;
    StackFrameSymbolName = "_vImageDebug_CheckDestBuffer";
},
{
    StackFrameModule = vImage;
    StackFramePC = 7223913756;
    StackFrameSymbolName = "_vImageConvert_AnyToAny";
},
... // more fields follow
)
]
CreateML image extraction ends in `Unexpected error`, opens `Create New Project` window
 
 
Q