Traceback (most recent call last):


 "pandas\_libs\parsers.pyx", line 1141, in pandas._libs.parsers.TextReader._convert_tokens
TypeError: Cannot cast array data from dtype('O') to dtype('float64') according to the rule 'safe'

Traceback (most recent call last):


 "main.py", line 94, in <module>

main()


 "main.py", line 86, in main

gan.train()


 "/home/aistudio/UGATIT.py", line 338, in train

self.D_optim.clear_gradients()


 "</opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/decorator.py:decorator-gen-59>", line 2, in clear_gradients


 "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/wrapped_decorator.py", line 25, in __impl__

return wrapped_func(*args, **kwargs)


 "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 216, in __impl__

return func(*args, **kwargs)


 "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/optimizer.py", line 791, in clear_gradients

for p in self._parameter_list:
TypeError: 'NoneType' object is not iterable
