open-mmlab / OpenPCDet

OpenPCDet Toolbox for LiDAR-based 3D Object Detection.
Apache License 2.0
4.66k stars 1.3k forks source link

pcdet ---> AttributeError: 'PosixPath' object has no attribute 'flush #573

Closed KangChou closed 2 years ago

KangChou commented 3 years ago

2021-06-25 09:23:23,992 INFO -----------------Quick Demo of OpenPCDet------------------------- 2021-06-25 09:23:24,091 INFO Total number of samples: 1 2021-06-25 09:23:26,637 INFO ==> Loading parameters from checkpoint ckpt/pv_rcnn_8369.pth to CPU 2021-06-25 09:23:27,441 INFO ==> Done (loaded 367/367) Traceback (most recent call last): File "demo.py", line 103, in <module> main() File "demo.py", line 87, in main for idx, data_dict in enumerate(demo_dataset): File "demo.py", line 41, in __getitem__ points = np.fromfile(self.sample_file_list[index], dtype=np.float32).reshape(-1, 4) AttributeError: 'PosixPath' object has no attribute 'flush'

KangChou commented 3 years ago

The problem has been solved. The main reason is the conflict between different versions of QT

Molocks commented 3 years ago

The problem has been solved. The main reason is the conflict between different versions of QT

I also met the same problem. Could you please tell me how you solved it?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.