-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
I get an error in colab TF_Part2_Music_Generation_Solution.ipynb even in [solutions] (https://colab.research.google.com/github/MITDeepLearning/introtodeeplearning/blob/master/lab1/solutions/TF_Part2_Music_Generation_Solution.ipynb) subdir at step with train_step function definition
COMET WARNING: As you are running in a Jupyter environment, you will need to call
experiment.end()` when finished to ensure all metrics and code are logged before exiting.
COMET INFO: Experiment is live on comet.com https://www.comet.com/tanat-tanat/6s191-lab1-part2/a80c27b7f2954f34a970dc8b4dcd83a1
COMET INFO: The process of logging environment details (conda environment, git patch) is underway. Please be patient as this may take some time.
COMET INFO: Couldn't find a Git repository in '/content' nor in any parent directory. Set COMET_GIT_DIRECTORY
if your Git Repository is elsewhere.
COMET INFO: Uploading 21 metrics, params and output messages
0%| | 0/3000 [00:02<?, ?it/s]
InvalidArgumentError Traceback (most recent call last)
/tmp/ipython-input-21-683428072.py in <cell line: 0>()
52 # Grab a batch and propagate it through the network
53 x_batch, y_batch = get_batch(vectorized_songs, params["seq_length"], params["batch_size"])
---> 54 loss = train_step(x_batch, y_batch)
55
56 # log the loss to the Comet interface! we will be able to track it there.
1 frames
/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
58 raise core._status_to_exception(e) from None
---> 59 except TypeError as e:
60 keras_symbolic_tensors = [x for x in inputs if _is_keras_symbolic_tensor(x)]
61 if keras_symbolic_tensors:
InvalidArgumentError: Graph execution error:
Detected at node sequential_1_1/lstm_1_1/CudnnRNNV3 defined at (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
.......
File "/usr/local/lib/python3.11/dist-packages/keras/src/layers/rnn/lstm.py", line 551, in inner_loop
File "/usr/local/lib/python3.11/dist-packages/keras/src/backend/tensorflow/rnn.py", line 841, in lstm
File "/usr/local/lib/python3.11/dist-packages/keras/src/backend/tensorflow/rnn.py", line 933, in _cudnn_lstm
Dnn is not supported
[[{{node sequential_1_1/lstm_1_1/CudnnRNNV3}}]] [Op:__inference_train_step_4798]
`