Open Milalaa opened 3 years ago
你好,请问按照README里面编译ext_op了么
@heavengate 你好!ext_op编译过了
遇到同样的问题
[Hint: Expected kernel_iter != kernels.end(), but received kernel_iter == kernels.end().] (at /paddle/paddle/fluid/imperative/prepared_operator.cc:419) [operator < transpose2 > error]
我也一样
Traceback (most recent call last):
File "tools/train.py", line 209, in
刚入门小白,遇到了问题恳请各位大神帮忙!谢谢 AI Studio PaddlePaddle2.0.0 3d_vision PointNet++分类训练报错UnavailableError: There are no kernels which are registered in the fill_constant operator.具体如下 aistudio@jupyter-622623-1481923:~/PointNet++$ python train_cls.py --model=MSG --batch_size=16 --save_dir=checkpoints_msg_cls 2021-02-02 16:17:38,539-INFO: ----------- Configuration Arguments ----------- 2021-02-02 16:17:38,539-INFO: batch_size: 16 2021-02-02 16:17:38,539-INFO: bn_momentum: 0.99 2021-02-02 16:17:38,539-INFO: data_dir: dataset/ModelNet40/modelnet40_ply_hdf5_2048 2021-02-02 16:17:38,539-INFO: decay_steps: 12500 2021-02-02 16:17:38,540-INFO: enable_ce: False 2021-02-02 16:17:38,540-INFO: epoch: 201 2021-02-02 16:17:38,540-INFO: log_interval: 1 2021-02-02 16:17:38,540-INFO: lr: 0.01 2021-02-02 16:17:38,540-INFO: lr_decay: 0.7 2021-02-02 16:17:38,540-INFO: model: MSG 2021-02-02 16:17:38,540-INFO: num_classes: 40 2021-02-02 16:17:38,540-INFO: num_points: 2048 2021-02-02 16:17:38,540-INFO: resume: None 2021-02-02 16:17:38,540-INFO: save_dir: checkpoints_msg_cls 2021-02-02 16:17:38,540-INFO: use_gpu: True 2021-02-02 16:17:38,540-INFO: weight_decay: 1e-05 2021-02-02 16:17:38,540-INFO: ------------------------------------------------ /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/PointNet++/models/pointnet2_modules.py:53 The behavior of expression A - B has been unified with elementwise_sub(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_sub(X, Y, axis=0) instead of A - B. This transitional warning will be dropped in the future. op_type, op_type, EXPRESSION_MAP[method_name])) W0202 16:17:39.180770 1631 device_context.cc:362] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 10.1, Runtime API Version: 10.1 W0202 16:17:39.185834 1631 device_context.cc:372] device: 0, cuDNN Version: 7.6. Traceback (most recent call last): File "train_cls.py", line 308, in
train()
File "train_cls.py", line 184, in train
exe.run(startup)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1110, in run
six.reraise(*sys.exc_info())
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/six.py", line 703, in reraise
raise value
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1108, in run
return_merged=return_merged)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1238, in _run_impl
use_program_cache=use_program_cache)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1328, in _run_program
[fetch_var_name])
RuntimeError: In user code:
aistudio@jupyter-622623-1481923:~/PointNet++$