Untitled conversation
- User
{ "name": "ResourceExhaustedError", "message": "Graph execution error:
OOM when allocating tensor with shape[21728] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc \t [[{{node concat}}]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.
\t [[sequential/lstm_1/PartitionedCall]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode. [Op:__inference_train_function_6595]", "stack": "--------------------------------------------------------------------------- ResourceExhaustedError Traceback (most recent call last) Cell In[8], line 7 3 train_generator = data_generator_lstm(30,x_scaler_loaded,y_scaler_loaded) 5 # Update total_samples, train_samples, and val_samples according to your dataset after transformations ----> 7 model.fit( 8 train_generator, 9 steps_per_epoch=50, 10 epochs=75, 11 # Add validation_data if you have a validation generator 12 )
File c:\Users\arisa\.conda\envs\tf\lib\site-packages\keras\utils\traceback_utils.py:70, in filter_traceback..error_handler(*args, **kwargs) 67 filtered_tb = _process_traceback_frames(e.traceback) 68 # To get the full stack trace, call: 69 #
tf.debugging.disable_traceback_filtering()---> 70 raise e.with_traceback(filtered_tb) from None 71 finally: 72 del filtered_tbFile c:\Users\arisa\.conda\envs\tf\lib\site-packages\tensorflow\python\eager\execute.py:54, in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name) 52 try: 53 ctx.ensure_initialized() ---> 54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name, 55 inputs, attrs, num_outputs) 56 except core._NotOkStatusException as e: 57 if name is not None:
ResourceExhaustedError: Graph execution error:
OOM when allocating tensor with shape[21728] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc \t [[{{node concat}}]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode.
\t [[sequential/lstm_1/PartitionedCall]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info. This isn't available when running in Eager mode. [Op:__inference_train_function_6595]" }
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.