Easonyesheng / CCS

[RA-L&IROS22] A learning-based camera calibration system.
MIT License
35 stars 2 forks source link

Encountered a small issue while training the “train_DistCorr.py” file. #21

Closed cheny00 closed 2 months ago

cheny00 commented 4 months ago

The operation is as follows:

1、train_txt_path = r'E:\project\DIC_Detection\self\hub\CCS\CCS-main\dataset_img2.txt' Path Example, G:\stereoCalibration\dataset\composite\480X480_CCS\test\img\10-0.jpg G:\stereoCalibration\dataset\composite\480X480_CCS\test\heatmap\10-0.npy

2、when running “train_DistCorr.py” image

"loss_util.py" happen image

How can I solve the problem? Is the dimension a problem with loading data ”train_txt_path “ files, or is it somewhere else? Where is the detection data generated (corners_before[:,0]) for corner loading? What are the dimensions referring to?

Looking forward to your recovery.

Easonyesheng commented 4 months ago

It may be caused by different numpy versions. This part is to load corner data generated by our code. You can investigate the generated corner data.