Coder Social home page Coder Social logo

Comments (12)

FeelyChau avatar FeelyChau commented on May 20, 2024

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.

lilee avatar lilee commented on May 20, 2024

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.

FeelyChau avatar FeelyChau commented on May 20, 2024

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.

lilee avatar lilee commented on May 20, 2024
[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.

FeelyChau avatar FeelyChau commented on May 20, 2024
[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.

lilee avatar lilee commented on May 20, 2024
[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.

lilee avatar lilee commented on May 20, 2024

OK了,重新yarn一下

from pipcook.

leozhang007 avatar leozhang007 commented on May 20, 2024

这个问题还没有修复,mac m1 型片,报错:run pipeline error: Forbidden,有修复计划么?

from pipcook.

FeelyChau avatar FeelyChau commented on May 20, 2024

这个问题还没有修复,mac m1 型片,报错:run pipeline error: Forbidden,有修复计划么?

已经更新了 framework,现在应该可以在 m1 上的 node 16 环境下正常运行了。

from pipcook.

FXHDHR avatar FXHDHR commented on May 20, 2024

这个问题还没有修复,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
image

from pipcook.

vanessaZh avatar vanessaZh commented on May 20, 2024

这个问题好像还没解决? https://pipcook-cloud.oss-cn-hangzhou.aliyuncs.com/framework/node16-py37/node_modules%2F%40tensorflow%2Ftfsj-darwin-arm64-v8.zip 这个地址请求为403

from pipcook.

cloudOfWorld avatar cloudOfWorld commented on May 20, 2024

这个问题好像还没解决? 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.