Hi, Jimmy.
I have made my own dataset that contains 4 objects and pcd files. When I run:
python train.py config/kinect1_mask.yml
There is an error occured:
Traceback (most recent call last):
File "train.py", line 295, in
main(cfg)
File "train.py", line 215, in main
criterion = PointsL1Loss(numpy_pcs).cuda()
File "train.py", line 63, in init
self._pcs = torch.from_numpy(np.array(numpy_pcs)).cuda()
ValueError: could not broadcast input array from shape (4,38720) into shape (4)
There are 38720 points in my first pcd file, and the format is same with your pcd files. It's like:
VERSION 0.7
FIELDS x y z
SIZE 4 4 4
TYPE F F F
COUNT 1 1 1
WIDTH 38720
HEIGHT 1
VIEWPOINT 0 0 0 1 0 0 0
POINTS 38720
DATA ascii
0 0.00193 0
0 0 0
0.0019499999 0 0
0.0038999999 0 0
0.0058499998 0 0
0.0077999998 0 0
0.0097500002 0 0
...
Hi, Jimmy. I have made my own dataset that contains 4 objects and pcd files. When I run:
There is an error occured:
There are 38720 points in my first pcd file, and the format is same with your pcd files. It's like:
My config file is like :
Could you give me any suggestions? Thanks in advance.