verify dataset split
"validation_directories = directories[-split:]"
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "QqOS2yMibemH"
+ },
+ "outputs": [],
+ "source": [
+ "assert len(set(validation_directories).intersection(training_directories)) == 0"
+ ]
+ },
{
"cell_type": "code",
"execution_count": null,
