Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorted bg_noise_imgs #3

Open
kexul opened this issue Nov 9, 2023 · 1 comment
Open

Sorted bg_noise_imgs #3

kexul opened this issue Nov 9, 2023 · 1 comment

Comments

@kexul
Copy link

kexul commented Nov 9, 2023

The bg_noise_imgs in cell 3 in the notebook should also be sorted, maybe a typo? 😉

files_bg_noise_imgs = sorted(os.listdir(os.path.join(PATH_MAIN, "bg_noise", "images")))
files_bg_noise_imgs = [os.path.join(PATH_MAIN, "bg_noise", "images", f) for f in files_bg_noise_imgs]
files_bg_noise_masks = sorted(os.listdir(os.path.join(PATH_MAIN, "bg_noise", "masks")))
files_bg_noise_masks = [os.path.join(PATH_MAIN, "bg_noise", "masks", f) for f in files_bg_noise_masks]

The code in the medium page seems good.

@alexppppp
Copy link
Owner

Hi @kexul,

You're correct, it should be sorted. I'll fix it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants