Comments (12)
The jsdelivr is not so stable, sometimes you may need to try several times. If it still fails, you can add the --debug parameter to get the detailed error stack.
from pipcook.
The jsdelivr is not so stable, sometimes you may need to try several times. If it still fails, you can add the --debug parameter to get the detailed error stack.
我的机器也是M1 Pro芯片
应该不是jsdelivr的问题,我把datasource,dataflow和model全部删掉,运行时还是报这个错误。还没到下载脚本的环节
from pipcook.
The jsdelivr is not so stable, sometimes you may need to try several times. If it still fails, you can add the --debug parameter to get the detailed error stack.
我的机器也是M1 Pro芯片 应该不是jsdelivr的问题,我把datasource,dataflow和model全部删掉,运行时还是报这个错误。还没到下载脚本的环节
可以加个 -d 参数看下具体的错误栈。
from pipcook.
[03:26:08:600] ✖ run pipeline error: StatusError: Forbidden
at ClientRequest.<anonymous> (/Users/laelli/.nvm/versions/node/v14.17.0/lib/node_modules/@pipcook/cli/node_modules/bent/src/nodejs.js:133:23)
at Object.onceWrapper (events.js:483:26)
at ClientRequest.emit (events.js:376:20)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at TLSSocket.socketOnData (_http_client.js:515:22)
at TLSSocket.emit (events.js:376:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
from pipcook.
[03:26:08:600] ✖ run pipeline error: StatusError: Forbidden at ClientRequest.<anonymous> (/Users/laelli/.nvm/versions/node/v14.17.0/lib/node_modules/@pipcook/cli/node_modules/bent/src/nodejs.js:133:23) at Object.onceWrapper (events.js:483:26) at ClientRequest.emit (events.js:376:20) at HTTPParser.parserOnIncomingClient (_http_client.js:647:27) at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17) at TLSSocket.socketOnData (_http_client.js:515:22) at TLSSocket.emit (events.js:376:20) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
应该是 framework 没有 M1 的实现,现在 tfjs 应该已经支持 m1 了,更新下 tfjs 版本应该就可以了。在我们更新验证完之前,你可以试试下载 https://pipcook-cloud.oss-cn-hangzhou.aliyuncs.com/framework/node14-py37/tfjs%403.8-darwin-x64-v8.zip ,解压后是一个 npm package,将 tfjs 升级成支持 M1 的版本,然后重新压缩成 zip。
对应的 pipeline 改成:
{
"options": {
"framework": "file:///path/to/your/tfjs.zip",
}
应该就可以绕过这个错误了。
from pipcook.
[03:26:08:600] ✖ run pipeline error: StatusError: Forbidden at ClientRequest.<anonymous> (/Users/laelli/.nvm/versions/node/v14.17.0/lib/node_modules/@pipcook/cli/node_modules/bent/src/nodejs.js:133:23) at Object.onceWrapper (events.js:483:26) at ClientRequest.emit (events.js:376:20) at HTTPParser.parserOnIncomingClient (_http_client.js:647:27) at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17) at TLSSocket.socketOnData (_http_client.js:515:22) at TLSSocket.emit (events.js:376:20) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
应该是 framework 没有 M1 的实现,现在 tfjs 应该已经支持 m1 了,更新下 tfjs 版本应该就可以了。在我们更新验证完之前,你可以试试下载 https://pipcook-cloud.oss-cn-hangzhou.aliyuncs.com/framework/node14-py37/tfjs%403.8-darwin-x64-v8.zip ,解压后是一个 npm package,将 tfjs 升级成支持 M1 的版本,然后重新压缩成 zip。 对应的 pipeline 改成:
{ "options": { "framework": "file:///path/to/your/tfjs.zip", }应该就可以绕过这个错误了。
我将zip包解压后,修改framework/framework.json中的arch为amd64,然后压缩,修改options.framework路径。最后运行,还是会报错,报错如下
platform darwin does not support gpu, enable backend `@tensorflow/tfjs-node`.
Platform node has already been set. Overwriting the platform with node.
[05:57:18:037] ✖ run pipeline error: Error: dlopen(/Users/laelli/Develop/test/pipcook/output/framework/node_modules/_@[email protected]@@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node, 0x0001): tried: '/Users/laelli/Develop/test/pipcook/output/framework/node_modules/_@[email protected]@@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/laelli/Develop/test/pipcook/output/framework/node_modules/_@[email protected]@@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node' (no such file), '/Users/laelli/Develop/test/pipcook/output/framework/node_modules/_@[email protected]@@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1210:18)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/laelli/Develop/test/pipcook/output/framework/node_modules/_@[email protected]@@tensorflow/tfjs-node/dist/index.js:60:16)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
from pipcook.
OK了,重新yarn一下
from pipcook.
这个问题还没有修复,mac m1 型片,报错:run pipeline error: Forbidden,有修复计划么?
from pipcook.
这个问题还没有修复,mac m1 型片,报错:run pipeline error: Forbidden,有修复计划么?
已经更新了 framework,现在应该可以在 m1 上的 node 16 环境下正常运行了。
from pipcook.
这个问题还没有修复,mac m1 型片,报错:run pipeline error: Forbidden,有修复计划么?
已经更新了 framework,现在应该可以在 m1 上的 node 16 环境下正常运行了。
我这里还是不行..,运行的命令是:pipcook train https://cdn.jsdelivr.net/gh/alibaba/pipcook@main/example/pipelines/image-classification-mobilenet.json -o ./output -d
from pipcook.
这个问题好像还没解决? https://pipcook-cloud.oss-cn-hangzhou.aliyuncs.com/framework/node16-py37/node_modules%2F%40tensorflow%2Ftfsj-darwin-arm64-v8.zip 这个地址请求为403
from pipcook.
这个问题好像还没解决? https://pipcook-cloud.oss-cn-hangzhou.aliyuncs.com/framework/node16-py37/node_modules%2F%40tensorflow%2Ftfsj-darwin-arm64-v8.zip 这个地址请求为403
+1
from pipcook.
Related Issues (20)
- data in doc can not download HOT 1
- support deno HOT 1
- npm run 运行失败 HOT 1
- 目前pipline中目标检测模型脚本中 不支持传入预训练模型做参数
- 按照官方文档执行报错403 HOT 9
- 群二维码过期了 HOT 1
- The specified module could not be found HOT 1
- 求一种可以离线运行脚本的方式 HOT 1
- i use object-detection on colab, when i predict, Origin result:[[]]
- boa init error HOT 1
- boa init error in centos8 HOT 1
- FaaS平台下执行boa失败 HOT 2
- Error: Boa install fails when npm installing in a folder name that contains a space HOT 4
- 数据集无法下载 HOT 1
- 我安装完之后没有什么反应,运行命令也没 HOT 1
- run pipeline error: Forbidden
- run pipeline error: Forbidden sudo pipcook train http://172.22.133.15:8000/image-classification-mobilenet.json
- 安装成功之后不管任何运行命令(比如 pipcook --help)都会打开 nodeJs 下的 pipcook.js 文件,然后程序就停止运行了
- 安装完成后无任何反应
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 pipcook.