You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, while doing step 4, I'm getting this error... and I can't figure out why it's happening. Could anyone help why this is happening? Thanks in advance.
(py36-sp) bryan@bryan-desktop:~/pytorch-superpoint$ python export.py export_descriptor configs/magicpoint_repeatability_heatmap.yaml superpoint_hpatches_test
check config!! {'data': {'name': 'patches_dataset', 'dataset': 'hpatches', 'alteration': 'all', 'preprocessing': {'resize': [240, 320]}}, 'front_end_model': 'Val_model_heatmap', 'model': {'name': 'SuperPointNet_gauss2', 'params': {}, 'detection_threshold': 0.015, 'batch_size': 1, 'eval_batch_size': 1, 'learning_rate': 0.001, 'nms': 4, 'top_k': 1000, 'nn_thresh': 1.0, 'homography_adaptation': {'num': 0}, 'subpixel': {'enable': True, 'patch_size': 5}, 'rand_noise': {'enable': False, 'sigma': 0.2}, 'pretrained': '/home/bryan/Desktop/superpoint_dataset/logs/superpoint_coco/checkpoints/superPointNet_200000_checkpoint.pth.tar'}, 'eval_iter': 1000}
[03/13/2022 19:34:10 INFO] Running command EXPORT_DESCRIPTOR
[03/13/2022 19:34:10 INFO] train on device: cuda:0
[03/13/2022 19:34:10 INFO] => will save everything to /home/bryan/Desktop/superpoint_dataset/logs/superpoint_hpatches_test/checkpoints
[03/13/2022 19:34:10 INFO] workers_test: 1
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/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_resource = np.dtype([("resource", np.ubyte, 1)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: 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)])
Traceback (most recent call last):
File "export.py", line 408, in
args.func(config, output_dir, args)
File "export.py", line 105, in export_descriptor
data = dataLoader(config, dataset=task)
File "/home/bryan/pytorch-superpoint/utils/loader.py", line 120, in dataLoader_test
**config['data'],
File "/home/bryan/pytorch-superpoint/datasets/patches_dataset.py", line 38, in init
self.files = self._init_dataset(**self.config)
File "/home/bryan/pytorch-superpoint/datasets/patches_dataset.py", line 125, in init_dataset
homographies.append(np.loadtxt(str(Path(path, "H_ref" + str(i)))))
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1139, in loadtxt
for x in read_data(_loadtxt_chunksize):
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1067, in read_data
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1067, in
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 763, in floatconv
return float(x)
ValueError: could not convert string to float: '0.99653963,-0.016891728,1.6804988'
The text was updated successfully, but these errors were encountered:
Hello, while doing step 4, I'm getting this error... and I can't figure out why it's happening. Could anyone help why this is happening? Thanks in advance.
(py36-sp) bryan@bryan-desktop:~/pytorch-superpoint$ python export.py export_descriptor configs/magicpoint_repeatability_heatmap.yaml superpoint_hpatches_test
check config!! {'data': {'name': 'patches_dataset', 'dataset': 'hpatches', 'alteration': 'all', 'preprocessing': {'resize': [240, 320]}}, 'front_end_model': 'Val_model_heatmap', 'model': {'name': 'SuperPointNet_gauss2', 'params': {}, 'detection_threshold': 0.015, 'batch_size': 1, 'eval_batch_size': 1, 'learning_rate': 0.001, 'nms': 4, 'top_k': 1000, 'nn_thresh': 1.0, 'homography_adaptation': {'num': 0}, 'subpixel': {'enable': True, 'patch_size': 5}, 'rand_noise': {'enable': False, 'sigma': 0.2}, 'pretrained': '/home/bryan/Desktop/superpoint_dataset/logs/superpoint_coco/checkpoints/superPointNet_200000_checkpoint.pth.tar'}, 'eval_iter': 1000}
[03/13/2022 19:34:10 INFO] Running command EXPORT_DESCRIPTOR
[03/13/2022 19:34:10 INFO] train on device: cuda:0
[03/13/2022 19:34:10 INFO] => will save everything to /home/bryan/Desktop/superpoint_dataset/logs/superpoint_hpatches_test/checkpoints
[03/13/2022 19:34:10 INFO] workers_test: 1
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/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_resource = np.dtype([("resource", np.ubyte, 1)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: 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)])
/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: 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)])
Traceback (most recent call last):
File "export.py", line 408, in
args.func(config, output_dir, args)
File "export.py", line 105, in export_descriptor
data = dataLoader(config, dataset=task)
File "/home/bryan/pytorch-superpoint/utils/loader.py", line 120, in dataLoader_test
**config['data'],
File "/home/bryan/pytorch-superpoint/datasets/patches_dataset.py", line 38, in init
self.files = self._init_dataset(**self.config)
File "/home/bryan/pytorch-superpoint/datasets/patches_dataset.py", line 125, in init_dataset
homographies.append(np.loadtxt(str(Path(path, "H_ref" + str(i)))))
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1139, in loadtxt
for x in read_data(_loadtxt_chunksize):
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1067, in read_data
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 1067, in
items = [conv(val) for (conv, val) in zip(converters, vals)]
File "/home/bryan/anaconda3/envs/py36-sp/lib/python3.6/site-packages/numpy/lib/npyio.py", line 763, in floatconv
return float(x)
ValueError: could not convert string to float: '0.99653963,-0.016891728,1.6804988'
The text was updated successfully, but these errors were encountered: