I cloned this repo from GitHub and I am trying to understand the workflow. Once I reached the following bloc of code:
Draw the RGB image
path_out = ‘./eopatches_small/’ if use_smaller_patches else ‘./eopatches_large/’
fig = plt.figure(figsize=(20, 20 * aspect_ratio))
pbar = tqdm(total=9)
for i in range(9):
eopatch = EOPatch.load(’{}/eopatch_{}’.format(path_out, i), lazy_loading=True)
ax = plt.subplot(3, 3, i + 1)
plt.imshow(np.clip(eopatch.datae‘BANDS’]a0][…, B2, 1, 0]] * 3.5, 0, 1))
plt.xticks(<])
plt.yticks(<])
ax.set_aspect(“auto”)
pbar.update(1)
del eopatch
fig.subplots_adjust(wspace=0, hspace=0)
which resulted in the following error:
CreateFailed: root path ‘C:\Users\ASUS\Desktop\Git_Repositories\eo-learn\examples\land-cover-map\eopatches_small\eopatch_0’ does not exist
Any idea how to fix this?