I get the grading error when submitting the horses vs humans with transfer learning assignment :
[Errno 2] Unable to synchronously open file (unable to open file: name = ‘/tf/model/inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5’, errno = 2, error message = ‘No such file or directory’, flags = 0, o_flags = 0)
even though I checked the directory and the file is there. Why am I getting the error ?
Hi, thanks for a reply, I just figured it out - the problem was, that I added
local_weights_file = ./model/inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5’ even though earlier in the code, it is assigned to LOCAL_WEIGHTS_FILE = … (same address).
After deleting the extra definition without capital letters it works
check your pre-trained model arguments are correctly recalled especially for weight which has been recalled as LOCAL_WEIGHT_FILE just before the grade cell.
See the below screenshot