Comments (6)
注意:paddle2.4.2正常在DCU硬件上运行!
from paddle.
看起来是一个动转静错误,可以尝试在导出时指定--input_shape
参数。
from paddle.
看起来是一个动转静错误,可以尝试在导出时指定
--input_shape
参数。
命令怎么写呢 ?
from paddle.
例如:
python export.py --config configs/synapse/swinunet_abdomen_224_224_1_14k_5e-2.yml --model_path /data01/ww/synapse/models/SwinUNet/model.pdparams --input_shape 1 3 -1 -1
建议通过--input_shape
固定batch size为1。--input_shape
的batch以外的维度指定什么值需要根据模型的实际情况确定~
from paddle.
W0527 19:02:13.346259 24548 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 90.0, Driver API Version: 50400.0, Runtime API Version: 50400.0
2024-05-27 19:02:14 [INFO] Loading pretrained model from https://paddleseg.bj.bcebos.com/paddleseg3d/synapse/abdomen/swinunet_abdomen_224_224_1_14k_5e-2/swinunet_pretrained.zip
savepath = /root/.paddleseg/tmp/tmpw33i0ru2/swinunet_pretrained.zip
Connecting to https://paddleseg.bj.bcebos.com/paddleseg3d/synapse/abdomen/swinunet_abdomen_224_224_1_14k_5e-2/swinunet_pretrained.zip
Downloading swinunet_pretrained.zip
[==================================================] 100.00%
C++ Traceback (most recent call last):
0 inflateReset2
Error Message Summary:
FatalError: Segmentation fault
is detected by the operating system.
[TimeInfo: *** Aborted at 1716807751 (unix time) try "date -d @1716807751" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0xfffffffffffffff7) received by PID 24548 (TID 0x7fa9e9cea740) from PID 18446744073709551607 ***]
段错误(吐核)
from paddle.
看起来是底层动态链接库的错误,为了得到更多的线索,建议尝试:
- 通过加断点、打印等手段确定代码最后调用的Python函数。
- 设置环境变量
export GLOG_v=2
,然后再次执行脚本,以获取C++层面的日志。
from paddle.
Related Issues (20)
- 安装Paddle后import paddle报错 HOT 4
- MacOS 10.15安装paddle cpu版本后import paddle报错 HOT 2
- [NVIDIA] paddle.distributed.new_group的rank與world_size在group size=1時會輸出-1 HOT 2
- 官网映射文档develop版本无法正常显示,挂了很长时间了 HOT 2
- Inadequate Validation for 'chunks' Parameter in `paddle.chunk` led to Aborted. HOT 2
- Segmentation fault and Aborted in `paddle.index_fill_`. HOT 1
- 反馈部分API文档中的bug和docs仓库下的rst文档bug HOT 1
- develop 版本 padlde 安装后 Illegal instruction (core dumped) HOT 10
- paddle.jit.save failed! HOT 3
- paddle 无法使用jit比jax训练慢 HOT 1
- http://paddlepaddle.org.cn/paddlehub页面不存在
- 拉去paddle docker paddle.utils.run_check()的时候出错 HOT 3
- 2.6.1 LRScheduler set_state_dict 出现多余warning HOT 2
- windows 11上编译paddle框架出现找不到UINT64_MAX符号 HOT 2
- The type of data we are trying to retrieve (float32) does not match the type of data (int8) currently contained in the container. HOT 1
- paddle静态模型在mac预测输出正确,转化为paddlelite模型输出为nan,数据类型均为fp32 HOT 2
- ppyoloe_r c++ 部署推理,网络输出检测框为非矩形框,python 推理没问题 HOT 2
- ppyoloe_r 按照官方案例训练脊柱数据集,但是分类loss不收敛 HOT 4
- 海光DCU ImportError: libgalaxyhip.so.5: cannot open shared object file: No such file or directory HOT 3
- 请问下multinomial的kernel,好像不能固定seed?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle.