We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度
Windows
examples
(env: macOS,mp,1.06.2303220; lib: 2.23.4) index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4) 2 index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4) index.js? [sm]:1 webgl createProgram: conv2d -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4) index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4) index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier ERROR: 0:186: '' : boolean expression expected `
The text was updated successfully, but these errors were encountered:
你可能用的模型是最新版本Paddle导出的,而先前的代码适配的是2.3或者2.4版本的Paddle。
你可以试下将Paddle版本降级,重新导出后再部署
Sorry, something went wrong.
你可能用的模型是最新版本Paddle导出的,而先前的代码适配的是2.3或者2.4版本的Paddle。 你可以试下将Paddle版本降级,重新导出后再部署
好的。我再试试
大哥你好。我训练用的是paddle的最新代码,训练出的v3模型。然后转换我是用的FastDeploy\examples\application\js\converter 下面的python .\convertToPaddleJSModel.py --modelPath=recmodels/inference.pdmodel --paramPath=recmodels/inference.pdiparams --outputDir=recmodels 我需要降版本重新训练么
juncaipeng
No branches or pull requests
温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度
环境
Windows
问题日志及出现问题的操作流程
examples
下的小程序部分的代码可以运行,但自己的模型,不能运行模型如下,转换后的json,另外.dat不知道是什么用(只单独训练了det模型):
model.json
`WAServiceMainContext.js:2 WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
index.js? [sm]:497 [Violation] 'load' handler took 1204ms
WAServiceMainContext.js:2 WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
index.js? [sm]:497 [Violation] 'load' handler took 1026ms
WAServiceMainContext.js:2 WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
index.js? [sm]:497 [Violation] 'load' handler took 1020ms
WAServiceMainContext.js:2 WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
index.js? [sm]:497 [Violation] 'load' handler took 1021ms
worker.js?libName=WA…celerateWorker.js:1 [worker] reportRealtimeAction:fail not support
WAServiceMainContext.js:2 Invalid context type [webgl2] for Canvas#getContext
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
WAServiceMainContext.js:2 Invalid context type [webgl2] for Canvas#getContext
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
2
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
2
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
2
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
2
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
2
index.js? [sm]:1 webgl createProgram: elementwise_mul -- Error: Error: compile: ERROR: 0:131: '[]' : vector field selection out of range
(env: macOS,mp,1.06.2303220; lib: 2.23.4)
index.js? [sm]:1 webgl createProgram: conv2d_depthwise -- Error: Error: compile: ERROR: 0:186: 'undefined' : undeclared identifier
ERROR: 0:186: '' : boolean expression expected
`
examples
下的部署示例,包括使用examples提供的模型,确认是否可以正确执行examples
下的代码可以运行,但自己的模型,或自己的代码不能运行The text was updated successfully, but these errors were encountered: