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

error #221

Closed
xylovezxy opened this issue Jul 25, 2024 · 5 comments
Closed

error #221

xylovezxy opened this issue Jul 25, 2024 · 5 comments

Comments

@xylovezxy
Copy link

image
Hello, this error occurs when I run my notebook. Kernel crashes when executing code in the current or previous cell.May I ask why this is happening?

@jrzaurin
Copy link
Owner

Hey @xylovezxy

can you please provide a more complete piece of code and the error in English?

Cheers!

@xylovezxy
Copy link
Author

The red error is:
Kernel crashes when executing code in the current or previous cell.
Please review the code in the cell to determine the possible cause of the malfunction.

I have successfully run both the text and deep versions, but when I tried to run the data processing module for image data, the kernel crashed.
There is a column in my dataframe, which is imd_path, which is the path of the image corresponding to the ID

@xylovezxy
Copy link
Author

image
I don't know why the program was killed

@jrzaurin
Copy link
Owner

jrzaurin commented Jul 28, 2024

There used to be an issue with notebooks and windows,.let me find it and I will link it there.

But also it does not seem to be finding the dir where the images are (?). The images are in the same directory where the code is running, correct?

@xylovezxy
Copy link
Author

Because img.col is my image path column.
I have a lot of data, but many of them correspond to the same image, so I processed many duplicate images during data preprocessing, resulting in memory overflow. I currently think this is the problem, and I am trying to modify the image preprocessing code to ensure batch processing or not to process duplicate image data.

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