-# Create the data-set if needed
-
-if [[ -d "${DYNCNN_DATA_DIR}" ]]; then
- echo "Found ${DYNCNN_DATA_DIR}, checking the number of images in there."
- if [[ $(find "${DYNCNN_DATA_DIR}" -name "dyn_*.png" | wc -l) == 150000 ]]; then
- echo "Looks good !"
- else
- echo "I do not find the proper number of images. Please remove the dir and re-run this scripts, or fix manually."
- exit 1
- fi
-else
- # Creating the data-base
+# Create the data-set if the directory does not exist
+
+if [[ ! -d "${DYNCNN_DATA_DIR}" ]]; then
+ cat <<EOF
+***************************************************************************
+ Generate the data-set
+***************************************************************************
+EOF
+