Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing while executing train.py. How need to resolve same. #77

Open
arm235 opened this issue Nov 21, 2021 · 2 comments
Open

Facing while executing train.py. How need to resolve same. #77

arm235 opened this issue Nov 21, 2021 · 2 comments

Comments

@arm235
Copy link

arm235 commented Nov 21, 2021

_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Dataset lidar length: 5237
Dataset tag length: 5237
Dataset total length: 5237
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\hp\anaconda3\envs\voxelnet\lib\site-packages\tensorflow\python\framework\dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\ci\opencv_1512688052760\work\modules\imgproc\src\resize.cpp, line 3289
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\ci\opencv_1512688052760\work\modules\imgproc\src\resize.cpp, line 3289
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\ci\opencv_1512688052760\work\modules\imgproc\src\resize.cpp, line 3289
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\ci\opencv_1512688052760\work\modules\imgproc\src\resize.cpp, line 3289
Process Process-1:
Traceback (most recent call last):
File "C:\Users\hp\anaconda3\envs\voxelnet\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\hp\anaconda3\envs\voxelnet\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\hp\Documents\VoxelNet-tensorflow\utils\kitti_loader.py", line 237, in loader_worker_main
self.fill_queue(batch_size)
File "C:\Users\hp\Documents\VoxelNet-tensorflow\utils\kitti_loader.py", line 166, in fill_queue
voxel[idx * single_batch_size:(idx + 1) * single_batch_size])
File "C:\Users\hp\Documents\VoxelNet-tensorflow\utils\kitti_loader.py", line 269, in build_input
feature = np.concatenate(feature_list)
File "<array_function internals>", line 6, in concatenate
ValueError: need at least one array to concatenate

@12lvxiaofeng12
Copy link

when run setup.py find ValueError: './utils/box_overlaps.pyx' doesn't match any files could you answer this question?

@arm235
Copy link
Author

arm235 commented Dec 2, 2021

Solve build issue from below link. Also set proper path of data in config or in train.py
https://medium.com/@HojjatA/how-i-solved-error-unable-to-find-vcvarsall-bat-f161d4e3b21c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants