HuantWang / FUNDED_NISL

FUNDED is a novel learning framework for building vulnerability detection models.
126 stars 36 forks source link

the bug:ValueError: setting an array element with a sequence. #23

Closed sywu213 closed 1 year ago

sywu213 commented 1 year ago

When I try to run the command $ CUDA_VISIBLE_DEVICES=2 python train.py GGNN GraphBinaryClassification ../data/data/CWE-77 I encountered the following error: Invalid argument: TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.008409093134105206, -0.004053284414112568, 7.326030026888475e-05, -0.003323172451928258, -0.004530687350779772, -0.005977425258606672, 0.006403673905879259, 0.0009572462295182049, 0.009286242537200451, 0.0033146804198622704, 0.001019165152683854, -0.003735858015716076, 0.0015958514995872974, 0.007626178674399853, -0.001008189981803298, -0.005622914992272854, -0.007142676040530205, 0.0036189176607877016, -0.004547593183815479, -0.007775846868753433, 0.004584384150803089, -0.0014593001687899232, -0.0021724356338381767, -0.001054807216860354, -0.006158124655485153, -0.007687584962695837, 0.0057273004204034805, -0.008095096796751022, 0.004045872017741203, -0.005266474559903145, 0.007967010140419006, -0.007006239611655474, -0.0011461457470431924, -0.002239846857264638, -0.003727403236553073, -0.0038196921814233065, -0.0008946113521233201, 0.0003634033491834998, 0.0025940861087292433, 0.00986107625067234, -0.00040067831287160516, 0.0052842251025140285, -0.003648065961897373, -0.009799609892070293, 0.0029974905773997307, -0.0028086623642593622, 0.006827087607234716, -0.003136902116239071, 0.008423320949077606, -0.0037651490420103073]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])]. TypeError: float() argument must be a string or a number, not 'list'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 601, in generator_py_func ret, dtype=dtype.as_numpy_dtype))

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/ops/script_ops.py", line 181, in _convert result = np.asarray(value, dtype=dtype, order="C")

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/numpy/core/_asarray.py", line 85, in asarray return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/ops/script_ops.py", line 221, in call ret = func(*args)

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 606, in generator_py_func "element was %s." % (dtype.name, ret)) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 601, in generator_py_func ret, dtype=dtype.as_numpy_dtype)) File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/tensorflow_core/python/ops/script_ops.py", line 181, in _convert result = np.asarray(value, dtype=dtype, order="C")

File "/home/rjd02/.conda/envs/rjd02_yangbo_newtensor/lib/python3.7/site-packages/numpy/core/_asarray.py", line 85, in asarray return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence.

How can I fix the bug?

HuantWang commented 1 year ago

It appears that you're dealing with a package version mismatch issue. Could you please check the versions of Python, TensorFlow, scikit-learn, NumPy, and so on in the requirements.txt file to ensure they are correct?

sywu213 commented 1 year ago

Thank you for your reply, I've already checked my library,The versions of those packages are the same as those in the requirements.txt.Because I just I followed step two in readme and install them. I guess the version of nni led to this problem.Because when I install it, the versons of some packages in requirements.txt are prompted that it is incompatible with nni,could you please tell me the version of nni when you experiment and I will try again.

HuantWang commented 1 year ago

Can you please provide the version of NNI that was used during our testing? @jie-2000

It appears to be a data type change issue. Could you please provide the complete error log? I couldn't locate the specific error line and file within the FUNDED project from the log; it seems to only display the error trace in third-party packages like TensorFlow and NumPy.

sywu213 commented 1 year ago

Thank you for your reply , here is the complete error log:

The specific error line and file within the FUNDED project are these:

File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\cli_utils\training_utils.py", line 310, in run_train_from_args aml_run=aml_run, File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\cli_utils\trainingutils.py", line 65, in train , _, initial_valid_results = model.run_one_epoch_new(train_data,train_data_2, training=False, quiet=quiet) File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\models\graph_task_model.py", line 347, in run_one_epoch_new for ((step, (batch_features, batch_labels)),(step_2, (batch_features_2, batch_labels_2))) in zip(enumerate(dataset),enumerate(dataset2)):

The complete error log:

2023-09-22 08:57:01.573581: W tensorflow/core/framework/op_kernel.cc:1610] Invalid argument: TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.645894113066656 1, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0 .08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11 827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.568 4339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.69763 11959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.4386015 1346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.1589695 8364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840 789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.2961401975 2214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075 844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])]. TypeError: float() argument must be a string or a number, not 'list'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 601, in generator_py_func ret, dtype=dtype.as_numpy_dtype))

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 181, in _convert result = np.asarray(value, dtype=dtype, order="C")

File "D:\anconda\envs\funded\lib\site-packages\numpy\core_asarray.py", line 85, in asarray return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 221, in call ret = func(*args)

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 606, in generator_py_func "element was %s." % (dtype.name, ret))

TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151 893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.79172503 80826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.87001214824 68192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.52184832175007 17, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.61693399687475 69, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7 392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0. 6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])].

2023-09-22 08:57:01.692631: W tensorflow/core/framework/op_kernel.cc:1622] OP_REQUIRES failed at iterator_ops.cc:929 : Invalid argument: TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.54488318299 68969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.568044561093932 3, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0 .46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0. 7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.3 59507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.363 7107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663 107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710 127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.282806 9625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894 909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])]. TypeError: float() argument must be a string or a number, not 'list'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 601, in generator_py_func ret, dtype=dtype.as_numpy_dtype))

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 181, in _convert result = np.asarray(value, dtype=dtype, order="C")

File "D:\anconda\envs\funded\lib\site-packages\numpy\core_asarray.py", line 85, in asarray return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 221, in call ret = func(*args)

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 606, in generator_py_func "element was %s." % (dtype.name, ret))

TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151 893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.79172503 80826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.87001214824 68192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.52184832175007 17, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.61693399687475 69, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7 392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0. 6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])].

     [[{{node PyFunc}}]]

Traceback (most recent call last): File "train.py", line 60, in run() File "train.py", line 35, in run lambda:run_train_from_args(args, hyperdrive_hyperparameter_overrides), args.debug File "D:\anconda\envs\funded\lib\site-packages\dpu_utils\utils\debughelper.py", line 21, in run_and_debug func() File "train.py", line 35, in lambda:run_train_from_args(args, hyperdrive_hyperparameter_overrides), args.debug File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\cli_utils\training_utils.py", line 310, in run_train_from_args aml_run=aml_run, File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\cli_utils\trainingutils.py", line 65, in train , _, initial_valid_results = model.run_one_epoch_new(train_data,train_data_2, training=False, quiet=quiet) File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\models\graph_task_model.py", line 347, in run_one_epoch_new for ((step, (batch_features, batch_labels)),(step_2, (batch_features_2, batch_labels_2))) in zip(enumerate(dataset),enumerate(dataset2)): File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\iterator_ops.py", line 622, in next return self.next() File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\iterator_ops.py", line 666, in next return self._next_internal() File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\iterator_ops.py", line 651, in _next_internal output_shapes=self._flat_output_shapes) File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\gen_dataset_ops.py", line 2673, in iterator_get_next_sync _six.raise_from(_core._status_to_exception(e.code, message), None) File "", line 3, in raise_from tensorflow.python.framework.errors_impl.InvalidArgumentError: TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.891773 0007820798, 0.9636627605010293, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.020218397 44032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.639921021327 5238, 0.1433532874090464, 0.9446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.01878980043635 5142, 0.6176354970758771, 0.6120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.0602254716292698 3, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513 , 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0 .317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9 292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])]. TypeError: float() argument must be a string or a number, not 'list'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 601, in generator_py_func ret, dtype=dtype.as_numpy_dtype))

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 181, in _convert result = np.asarray(value, dtype=dtype, order="C")

File "D:\anconda\envs\funded\lib\site-packages\numpy\core_asarray.py", line 85, in asarray return array(a, dtype, copy=False, order=order)

ValueError: setting an array element with a sequence.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\ops\script_ops.py", line 221, in call ret = func(*args)

File "D:\anconda\envs\funded\lib\site-packages\tensorflow_core\python\data\ops\dataset_ops.py", line 606, in generator_py_func "element was %s." % (dtype.name, ret))

TypeError: generator yielded an element that could not be converted to the expected type. The expected type was float32, but the yielded element was [list([0.5488135039273248, 0.7151 893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.9636627605010293, 0.3834415188257777, 0.79172503 80826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.87001214824 68192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9446689170495839, 0.52184832175007 17, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6120957227224214, 0.61693399687475 69, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.2088767560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7 392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0. 6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.5488135039273248, 0.7151893663724195, 0.6027633760716439, 0.5448831829968969, 0.4236547993389047, 0.6458941130666561, 0.4375872112626925, 0.8917730007820798, 0.963662760501029 3, 0.3834415188257777, 0.7917250380826646, 0.5288949197529045, 0.5680445610939323, 0.925596638292661, 0.07103605819788694, 0.08712929970154071, 0.02021839744032572, 0.832619845547938, 0.7781567509498505, 0.8700121482468192, 0.978618342232764, 0.7991585642167236, 0.46147936225293185, 0.7805291762864555, 0.11827442586893322, 0.6399210213275238, 0.1433532874090464, 0.9 446689170495839, 0.5218483217500717, 0.4146619399905236, 0.26455561210462697, 0.7742336894342167, 0.45615033221654855, 0.5684339488686485, 0.018789800436355142, 0.6176354970758771, 0.6 120957227224214, 0.6169339968747569, 0.9437480785146242, 0.6818202991034834, 0.359507900573786, 0.43703195379934145, 0.6976311959272649, 0.06022547162926983, 0.6667667154456677, 0.6706 378696181594, 0.2103825610738409, 0.1289262976548533, 0.31542835092418386, 0.3637107709426226, 0.5701967704178796, 0.43860151346232035, 0.9883738380592262, 0.10204481074802807, 0.20887 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.13818 29513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610 881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.414262994 51466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.3185689524 5132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066]) ... list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, -0.0020345349330455065, -0.00899265892803669, 0.00013334145478438586, 0.008560373447835445, 0.009282237850129604, 0.007668695878237486, 0.0016407800139859319, -0.000982225756160915, 0. 003918404690921307, -0.0016234016511589289, 0.006042079534381628, -0.004205191973596811, 0.0090550621971488, -0.0034986885730177164, -0.003259254852309823, -0.009913092479109764, -0.00 337334000505507, -0.0036835460923612118, 0.005642019212245941, -0.009841152466833591, 0.0023549534380435944, 0.0038174695800989866, 0.00865627359598875, -0.0029331848490983248, 0.00842 3866704106331, 0.0032442661467939615, -0.001002926379442215, 0.004845951683819294, 0.004271313548088074, 0.0087082264944911, -0.008903635665774345, -0.004545086994767189, 0.0018293802859261632, 0.00953060481697321]) list([0.005677382927387953, -0.007464252877980471, -0.009782446548342705, 0.009946358390152454, -0.009832651354372501, -0.006362855434417725, -0.0073260413482785225, -0.00881202425807 7145, 0.006768082734197378, -0.008608066476881504, -0.003664185293018818, 0.009367522783577442, 0.005898385774344206, 0.009048250503838062, 0.008257834240794182, 0.002922232262790203, 67560948347, 0.16130951788499626, 0.6531083254653984, 0.2532916025397821, 0.4663107728563063, 0.24442559200160274, 0.15896958364551972, 0.11037514116430513, 0.6563295894652734, 0.1381829513486138, 0.1965823616800535, 0.3687251706609641, 0.8209932298479351, 0.09710127579306127, 0.8379449074988039, 0.09609840789396307, 0.9764594650133958, 0.4686512016477016, 0.9767610881903371, 0.604845519745046, 0.7392635793983017, 0.039187792254320675, 0.2828069625764096, 0.1201965612131689, 0.29614019752214493, 0.11872771895424405, 0.317983179393976, 0.41426299451466997, 0.06414749634878436, 0.6924721193700198, 0.5666014542065752, 0.2653894909394454, 0.5232480534666997, 0.09394051075844168, 0.5759464955561793, 0.9292961975762141, 0.31856895245132366, 0.6674103799636817, 0.13179786240439217, 0.7163272041185655, 0.2894060929472011, 0.18319136200711683, 0.5865129348100832, 0.020107546187493552, 0.8289400292173631, 0.004695476192547066])].

     [[{{node PyFunc}}]] [Op:IteratorGetNextSync]
jie-2000 commented 1 year ago

nni version:2.6.1

jie-2000 commented 1 year ago

I haven't encountered this problem before. Perhaps you can debug check the value and the type of these variables 'dataset2''dataset' File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\cli_utils\trainingutils.py", line 65, in train , _, initial_valid_results = model.run_one_epoch_new(train_data,train_data_2, training=False, quiet=quiet) File "E:\paper_code_final\FUNDED_NISL-main\FUNDED\models\graph_task_model.py", line 347, in run_one_epoch_new for ((step, (batch_features, batch_labels)),(step_2, (batch_features_2, batch_labels_2))) in zip(enumerate(dataset),enumerate(dataset2)):

sywu213 commented 1 year ago

Thank you,I will try again.