maikherbig / AIDeveloper

GUI-based software for training, evaluating and applying deep neural nets for image classification
BSD 2-Clause "Simplified" License
109 stars 20 forks source link

AID crashed and quit #50

Closed freemedom closed 4 months ago

freemedom commented 2 years ago

When I clicked "Start fitting", it showed this interface 1PE %5K7E2VE13I%{U0BN@P cmd window showed `3))JI_NON9AK71YGXHZIU1 , and about ten seconds later, the AID crashed and quit. I don't know what went wrong? Maybe there's something wrong with the image files? Thanks.

maikherbig commented 2 years ago

Thanks for reporting! I looks like you want to train some of the "pretrained models". Most of them require image dimensions larger than 32x32pix. Could you please do all the settings again in the AIDeveloper user interface and just before you would click on "Initialize/Fit Model" please click on instead on File->Save session. That will create an Excel file containing all parameters that you want to use. If you send this file to me, I could try and reproduce and solve the error. Thanks in advance

freemedom commented 2 years ago

https://1drv.ms/x/s!At8uH42USKmhePKQgsyGjW5Gu7c?e=369Jmv This is the Excel.Thanks.

freemedom commented 2 years ago

After I clicked "Save Session", this came up. image

maikherbig commented 2 years ago

From the Excel file, I can see that you are basically using default settings and a simple CNN architecture. I don't see why that should not work. Would you please be so kind and also send the data that has been used (I have tried it with my own data and I could not reproduce the error)? For now, you could try the older version of AIDeveloper (v.0.2.3). This version was tested for a long time and is very likely to work. Please let me know if it works, or not. That could help me to find the issue in v0.3.0.

Please note that v0.3.0 was developed to update dependencies (updated Python, TensorFlow etc.) which resulted in various breaks of the code. Such bugs as you are experiencing, are annoying but really hard to find sometimes. Hence, I'm really grateful for your feedback!

maikherbig commented 2 years ago

The issue you highlighted above (get_metrics() takes 1 positional argument....)https://github.com/maikherbig/AIDeveloper/issues/50#issuecomment-1066300121 is now solved via: c396a6f

freemedom commented 2 years ago

I downloaded and tested version 0.2.0, and it worked fine.

freemedom commented 2 years ago

This is four rtdc files.Thanks. https://1drv.ms/u/s!At8uH42USKmhfZrP5TOQvg_mieE?e=7ifqrN

maikherbig commented 2 years ago

Hmm that's a suboptimal solution. Another user has reported a similar problem and installing Visual C++ (required by TensorFlow) was the solution LINK . You would most likely need the x64 version: download link

freemedom commented 2 years ago

I just installed this library, but unfortunately 0.3.0 still crashed and exited. image

maikherbig commented 2 years ago

Sorry for the delay. I now had time to have a look at your data. Unfortunately, I cannot reproduce the error. Model training goes very well (99% validation acc.) Hence, the issue must be the system. You can find out why it crashes by starting AIDeveloper using the command prompt:

freemedom commented 2 years ago

Thank you very much. I will try to solve it after my holiday.