Error handling after stopping the download of learned data of VGG16

Use VGG16 with Keras http://aidiary.hatenablog.com/entry/20170104/1483535144

According to the contents here, if you execute the script and ** stop the trained data in the middle of downloading ** and then try to execute it again, the following error will occur.

OSError: Unable to open file (Truncated file: eof = 174129152, sblock->base_addr = 0, stored_eoa = 553467096)

001.PNG

https://stackoverflow.com/questions/40839114/i-tried-to-fine-tune-vgg16-on-my-dataset-but-met-the-oserror-about-loading-vgg1

It depends on the environment, but I think that there is only one file called vgg16_weights_tf_dim_ordering_tf_kernels.h5 in the following directory, so you can reload it by deleting this and executing it again.

C:\Users\(User name)\.keras\models

Recommended Posts

Error handling after stopping the download of learned data of VGG16
Download the wind data of the Japan Meteorological Agency
Error divided by 0 Handling of ZeroDivisionError
Data handling 2 Analysis of various data formats
[Golang Error handling] The best way to separate processing according to the type of error
Good exception handling learned from the automatic monitoring program of virtual currency
Explain the mechanism of PEP557 data class
The story of an error in PyOCR
The story of verifying the open data of COVID-19
Get the column list & data list of CASTable
What is the cause of the following error?
[Python] Understand the content of error messages
Visualize the export data of Piyo log