eval model::
0%|
| 0/74 [00:00<?, ?it/s]Traceback (most recent call last):


 "tools/train.py", line 115, in <module>

main(config, device, logger, vdl_writer)


 "tools/train.py", line 92, in main

eval_class, pre_best_model_dict, logger, vdl_writer)


 "/paddle/PaddleOCR/tools/program.py", line 258, in train

eval_class)


 "/paddle/PaddleOCR/tools/program.py", line 334, in eval

if "SRN" in str(model.head):


 "/usr/local/python3.5.1/lib/python3.5/site-packages/paddle/fluid/dygraph/layers.py", line 1039, in __getattr__

return object.__getattribute__(self, name)
AttributeError: 'DataParallel' object has no attribute 'head'

Traceback (most recent call last):


 "/home/foobar/test.py", line 21, in <module>

"lr": tune.grid_search([0.1, 0.01]),


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/tune.py", line 321, in run

runner.step()


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 339, in step

self._process_events()
# blocking


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 452, in _process_events

self._process_trial(trial)


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 522, in _process_trial

self._process_trial_failure(trial, traceback.format_exc())


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 589, in _process_trial_failure

trial, error=True, error_msg=error_msg)


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/ray_trial_executor.py", line 267, in stop_trial

trial, error=error, error_msg=error_msg, stop_logger=stop_logger)


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/ray_trial_executor.py", line 208, in _stop_trial

trial.close_logger()


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/trial.py", line 354, in close_logger

self.result_logger.close()


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/logger.py", line 326, in close

_logger.close()


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/logger.py", line 248, in close

self._try_log_hparams(scrubbed_result)


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/ray/tune/logger.py", line 260, in _try_log_hparams

hparam_dict=scrubbed_params, metric_dict=result)


 "/opt/anaconda3/envs/helloworld/lib/python3.7/site-packages/tensorboardX/summary.py", line 104, in hparams

hps.append(HParamInfo(name=k, type=DataType.DATA_TYPE_FLOAT64))
AttributeError: 'EnumTypeWrapper' object has no attribute 'DATA_TYPE_FLOAT64'
