MaybeShewill-CV / lanenet-lane-detection

Unofficial implemention of lanenet model for real time lane detection
Apache License 2.0
2.38k stars 888 forks source link

你好請問出現TypeError: avg_pool() missing 1 required positional argument: 'value'怎麽解決 #595

Closed huangzhihao1 closed 2 months ago

huangzhihao1 commented 5 months ago

Traceback (most recent call last): File "tools/train_lanenet_tusimple.py", line 48, in train_model() File "tools/train_lanenet_tusimple.py", line 38, in train_model worker = single_gpu_trainner.LaneNetTusimpleTrainer(cfg=CFG) File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\trainner\tusimple_lanenet_single_gpu_trainner.py", line 91, in init reuse=False File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\lanenet_model\lanenet.py", line 78, in compute_loss reuse=reuse File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\lanenet_model\lanenet_front_end.py", line 46, in build_model reuse=reuse File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\semantic_segmentation_zoo\bisenet_v2.py", line 1063, in build_model name='aggregation_branch' File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\semantic_segmentation_zoo\bisenet_v2.py", line 954, in build_aggregation_branch name='guided_aggregation_block' File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\semantic_segmentation_zoo\bisenet_v2.py", line 546, in call name='avg_pooling_block' File "C:\Users\hzh\Desktop\learn\car\lanenet-lane-detection\semantic_segmentation_zoo\cnn_basenet.py", line 211, in avgpooling data_format=data_format, name=name) TypeError: avg_pool() missing 1 required positional argument: 'value'