-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't understand your question. #9
Comments
#8 [300000 rows x 2 columns] 2021-12-07 18:39:39.641183: I tensorflow/core/platform/windows/subprocess.cc:308] SubProcess ended with return code: 0 2021-12-07 18:39:39.839037: I tensorflow/stream_executor/cuda/cuda_blas.cc:1838] TensorFloat-32 will be used for the matrix multiplication. This will only be logged once. [33372 rows x 2 columns] File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\ops\script_ops.py", line 249, in call File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 620, in wrapper File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 938, in generator_py_func ValueError: Traceback (most recent call last): File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\ops\script_ops.py", line 249, in call Fi File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1100, in fit File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 938, in generator_py_func ValueError:
File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\eager\def_function.py", line 828, in call File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\ops\script_ops.py", line 249, in call File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 620, in wrapper File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 938, in generator_py_func ValueError:
(1) Invalid argument: ValueError: File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\ops\script_ops.py", line 249, in call File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 620, in wrapper File "D:\ProgramData\Anaconda3\envs\tf1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 938, in generator_py_func ValueError:
0 successful operations. Function call stack: 2021-12-07 18:40:28.958495: W tensorflow/core/kernels/data/generator_dataset_op.cc:107] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated. Process finished with exit code 1 |
The above error will occur when the number of lines in the training set and verification set I input is different. Could you please answer it? thank you |
``ValueError: generator yielded an element of shape (0,) where an element of shape (None, None) was expected'' seems that there was no data when using generator for a epoch. |
The results look vary bad. Have you tried on kettle first? The kettle should be the one to start from, as it is easier to train |
The error appears to be that he completed a training round on the training set and then skipped to the validation set, but the validation set does not have as much data as the training set, so the following data is empty. May I ask how you solved it? Why does this treat the validation set as the training set? thank you |
I don't understand your question.
Originally posted by @MingjunZhong in #8 (comment)
The text was updated successfully, but these errors were encountered: