Closed JJYjackson closed 2 years ago
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
我会在aistudio上验证后给您回复, 稍等.
感谢感谢!
在 2021-04-15 22:02:33,"tangwei12" @.***> 写道:
我会在aistudio上验证后给您回复, 稍等.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
我会在aistudio上验证后给您回复, 稍等. 您好,请问能分享下您在aisudio上的验证结果吗?因为我在aistudio上也是报同样的错
你好, 我暂时没复现此问题, 我正在切版本尝试.
Since you haven\'t replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。
为使您的问题得到快速解决,在建立Issue前,请您先通过如下方式搜索是否有相似问题:【搜索issue关键字】【使用labels筛选】【官方文档】
建立issue时,为快速解决问题,请您根据使用情况给出如下信息:
标题:简洁、精准描述您的问题,例如“ssd 模型前置lstm报错 ”
版本、环境信息: Paddle version: 2.0.1 Paddle With CUDA: True OS: debian buster/sid Python version: 3.7.10 CUDA version: 10.0.130 cuDNN version: 7.4.2 Nvidia driver version: 440.95.01
模型信息 1)模型名称 :cnn![2021-04-13 12-48-23 的屏幕截图](https://user-images.githubusercontent.com/65533171/114498430-a720d780-9c56-11eb-960e-bfa55a90f0cb.png)
2)使用数据集名称 RADIOML 2016.04C
https://aistudio.baidu.com/aistudio/datasetdetail/80514
[1, 2, 128] 0 48618 W0413 12:26:24.227283 10856 device_context.cc:362] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 10.2, Runtime API Version: 10.0 W0413 12:26:24.230756 10856 device_context.cc:372] device: 0, cuDNN Version: 7.6. Traceback (most recent call last): File "MR.py", line 157, in
model_CNN2.summary((None, 1, 2, 128))
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/hapi/model.py", line 1881, in summary
return summary(self.network, _input_size, dtype)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/hapi/model_summary.py", line 149, in summary
result, params_info = summary_string(net, _input_size, dtypes)
File "", line 2, in summary_string
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/fluid/dygraph/base.py", line 315, in _decorate_function
return func(*args, kwargs)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/hapi/model_summary.py", line 276, in summary_string
model(x)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in call
outputs = self.forward(inputs, kwargs)
File "/home/titan-306/workspace/JJY/R2016C-MR_compare/cnn1_cnn2.py", line 30, in forward
x = self.dropout(x)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 902, in call
outputs = self.forward(*inputs, **kwargs)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/nn/layer/common.py", line 727, in forward
name=self.name)
File "/home/titan-306/anaconda3/envs/paddle_env/lib/python3.7/site-packages/paddle/nn/functional/common.py", line 924, in dropout
if seed is not None else 0, 'dropout_implementation', mode)
ValueError: (InvalidArgument) Input dimension number(num_col_dims) must be between 0 and 1, but received number is 1.
[Hint: Expected (num_col_dims > 0 && num_col_dims < rank) == true, but received (num_col_dims > 0 && num_col_dims < rank):0 != true:1.] (at /paddle/paddle/fluid/framework/eigen.h:94)
[operator < dropout > error]
![2021-04-13 12-53-20 的屏幕截图](https://user-images.githubusercontent.com/65533171/114498776-4940bf80-9c57-11eb-8f92-805765b7333f.png)