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

convert_h5_to_jpg.py error #26

Open
BUPT-BownZ opened this issue Sep 12, 2024 · 1 comment
Open

convert_h5_to_jpg.py error #26

BUPT-BownZ opened this issue Sep 12, 2024 · 1 comment

Comments

@BUPT-BownZ
Copy link

When I try to crop the image patches, I encountered a "time-out" error. Therefore, I changed the code in the following way.

executor.update_parameters(slurm_partition="prod", name="data_prep",
slurm_time='24:00:00', mem_gb=8, slurm_array_parallelism=1)

and


kwargs = {'num_workers': 1,
          'pin_memory': True} if device.type == "cuda" else {}

However, every time I run convert_h5_to_jpg.py, the server still runs out of memory, causing a direct disconnection from the server and the program to terminate. Could you please advise me on how to modify the code to resolve this issue? Thank you!

@BUPT-BownZ
Copy link
Author

I use the dataset is c16.

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

1 participant