首页 PaddleCV 帖子详情
PaddleDetection这个提示啥意思?
收藏
快速回复
PaddleCV 问答目标识别 1341 5
PaddleDetection这个提示啥意思?
收藏
快速回复
PaddleCV 问答目标识别 1341 5

出这个问题,好奇怪呢啊

/home/aistudio/PaddleDetection
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/__init__.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import MutableMapping
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Iterable, Mapping
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Sized
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/tensor/creation.py:125: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. 
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  if data.dtype == np.object:
[09/06 18:13:49] reader WARNING: Shared memory size is less than 1G, disable shared_memory in DataLoader
W0906 18:13:49.226023   551 device_context.cc:404] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 10.1, Runtime API Version: 10.1
W0906 18:13:49.230957   551 device_context.cc:422] device: 0, cuDNN Version: 7.6.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 800 is not equal to the height: 468.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 480 is not equal to the width: 800.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 400 is not equal to the width: 950.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 1501 is not equal to the height: 652.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 1080 is not equal to the width: 720.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 393 is not equal to the height: 431.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 633 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 832 is not equal to the height: 2448.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 1328 is not equal to the width: 3264.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 2448 is not equal to the height: 562.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 3264 is not equal to the width: 750.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 400 is not equal to the height: 401.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 640 is not equal to the width: 641.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 656 is not equal to the height: 1280.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 763 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 356 is not equal to the height: 960.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 759 is not equal to the width: 1280.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 500 is not equal to the height: 365.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 900 is not equal to the width: 547.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 638 is not equal to the height: 533.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 1200 is not equal to the width: 800.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 563 is not equal to the height: 480.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 1000 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 1043 is not equal to the height: 391.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 1080 is not equal to the width: 500.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image height: 633 is not equal to the height: 890.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:49] ppdet.data.transform.operators WARNING: The actual image width: 420 is not equal to the width: 500.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 1277 is not equal to the height: 962.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 750 is not equal to the width: 1569.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 700 is not equal to the height: 412.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 700 is not equal to the width: 550.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 480 is not equal to the height: 960.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 640 is not equal to the width: 1280.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 440 is not equal to the height: 480.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 329 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 640 is not equal to the height: 682.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 1141 is not equal to the width: 1024.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 682 is not equal to the height: 477.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 1024 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 1100 is not equal to the height: 1102.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 825 is not equal to the width: 1080.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 472 is not equal to the height: 400.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 621 is not equal to the width: 640.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 437 is not equal to the height: 353.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 333 is not equal to the width: 530.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 1170 is not equal to the height: 500.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 658 is not equal to the width: 900.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 141 is not equal to the height: 659.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 357 is not equal to the width: 990.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 400 is not equal to the height: 426.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 1068 is not equal to the height: 439.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 801 is not equal to the height: 1227.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 450 is not equal to the width: 690.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 960 is not equal to the height: 303.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 1280 is not equal to the width: 540.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 2000 is not equal to the height: 900.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 2000 is not equal to the width: 900.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 891 is not equal to the height: 1040.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 1188 is not equal to the width: 780.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 400 is not equal to the height: 426.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 1440 is not equal to the height: 471.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 2404 is not equal to the width: 880.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 634 is not equal to the height: 874.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 1105 is not equal to the width: 666.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image height: 704 is not equal to the height: 651.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:50] ppdet.data.transform.operators WARNING: The actual image width: 500 is not equal to the width: 650.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 1382 is not equal to the height: 3176.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 1200 is not equal to the width: 3000.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 1334 is not equal to the height: 445.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 750 is not equal to the width: 382.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 2448 is not equal to the height: 562.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 3264 is not equal to the width: 750.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 1100 is not equal to the height: 1102.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 825 is not equal to the width: 1080.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 769 is not equal to the height: 395.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 1024 is not equal to the width: 641.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image height: 750 is not equal to the height: 450.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:51] ppdet.data.transform.operators WARNING: The actual image width: 1000 is not equal to the width: 637.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image height: 767 is not equal to the height: 1350.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image width: 534 is not equal to the width: 906.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image height: 2046 is not equal to the height: 583.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image width: 640 is not equal to the width: 542.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:52] ppdet.utils.download INFO: Downloading ResNet50_vd_ssld_pretrained.pdparams from https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vd_ssld_pretrained.pdparams
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image height: 700 is not equal to the height: 412.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image width: 700 is not equal to the width: 550.0 in annotation, and update sample['w'] by actual image width.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image height: 765 is not equal to the height: 714.0 in annotation, and update sample['h'] by actual image height.
[09/06 18:13:52] ppdet.data.transform.operators WARNING: The actual image width: 472 is not equal to the width: 665.0 in annotation, and update sample['w'] by actual image width.
  0%|                                                | 0/138935 [00:00
    main()
  File "tools/train.py", line 136, in main
    run(FLAGS, cfg)
  File "tools/train.py", line 111, in run
    trainer.train(FLAGS.eval)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/engine/trainer.py", line 358, in train
    outputs = model(data)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/architectures/meta_arch.py", line 26, in forward
    out = self.get_loss()
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/architectures/yolo.py", line 121, in get_loss
    return self._forward()
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/architectures/yolo.py", line 80, in _forward
    neck_feats = self.neck(body_feats, self.for_mot)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/necks/yolo_fpn.py", line 638, in forward
    route, tip = self.yolo_blocks[i](block)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/necks/yolo_fpn.py", line 240, in forward
    route = self.conv_module(inputs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/container.py", line 98, in forward
    input = layer(input)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in __call__
    outputs = self.forward(*inputs, **kwargs)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/ppdet/modeling/layers.py", line 282, in forward
    matrix = paddle.cast(paddle.rand(x.shape, x.dtype) < gamma, x.dtype)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/tensor/random.py", line 722, in rand
    return uniform(shape, dtype, min=0.0, max=1.0, name=name)
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/tensor/random.py", line 502, in uniform
    float(max), 'seed', seed, 'dtype', dtype)
KeyboardInterrupt
0
收藏
回复
全部评论(5)
时间顺序
1
123蝶梦周公123
#2 回复于2021-09

这个提示时说图像标注的宽和高与实际读取到的图片的宽和高不符合,应该是标注中的宽和高是反的

0
回复
JavaRoom
#3 回复于2021-09
这个提示时说图像标注的宽和高与实际读取到的图片的宽和高不符合,应该是标注中的宽和高是反的

对呀,我也是这么认为的

0
回复
FutureSI
#4 回复于2021-09

我也发现个问题,我的读取器读取的图片有时回旋转+-90度,用PIL处理时明明只用了mirror。。。

0
回复
JavaRoom
#5 回复于2021-09
我也发现个问题,我的读取器读取的图片有时回旋转+-90度,用PIL处理时明明只用了mirror。。。

我觉的这个好奇怪的

0
回复
火火火火兔子
#6 回复于2023-04

请问这个怎么解决的,我也是这个问题

 

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户