عند تدريب شبكه عصبيه CNN بيحصل الخطاء ده اثناء التدريب النموذج
InvalidArgumentErrorTraceback(most recent call last)/tmp/ipykernel_36/2234119796.pyin<cell line:0>()---->1 history = keras_models.fit(train_ds,validation_data=val_ds,epochs=20)/usr/local/lib/python3.11/dist-packages/keras/src/utils/traceback_utils.py in error_handler(*args,**kwargs)120# To get the full stack trace, call:121# `keras.config.disable_traceback_filtering()`-->122raise e.with_traceback(filtered_tb)fromNone123finally:124del filtered_tb
/usr/local/lib/python3.11/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)57 e.message +=" name: "+ name
58raise core._status_to_exception(e)fromNone--->59exceptTypeErroras e:60 keras_symbolic_tensors =[x for x in inputs if _is_keras_symbolic_tensor(x)]61if keras_symbolic_tensors:InvalidArgumentError:Graph execution error:Detected at node decode_image/DecodeImage defined at (most recent call last):<stack traces unavailable>Detected at node decode_image/DecodeImage defined at (most recent call last):<stack traces unavailable>2 root error(s) found.(0) INVALID_ARGUMENT:Input size should match (header_size + row_size * abs_height) but they differ by 2[[{{node decode_image/DecodeImage}}]][[IteratorGetNext]][[IteratorGetNext/_4]](1) INVALID_ARGUMENT:Input size should match (header_size + row_size * abs_height) but they differ by 2[[{{node decode_image/DecodeImage}}]][[IteratorGetNext]]0 successful operations.0 derived errors ignored.[Op:__inference_multi_step_on_iterator_13769]
السؤال
Ali Ahmed55
السلام عليكم
عند تدريب شبكه عصبيه CNN بيحصل الخطاء ده اثناء التدريب النموذج
مع العلم انا بستخدم الداله دي في تحميل البيانات
8 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.