Coder Social home page Coder Social logo

Comments (2)

haozech avatar haozech commented on May 13, 2024

按照例子里https://github.com/PaddlePaddle/Paddle.js/tree/master/src/paddle的说明,起tinyYolo服务,报错:

Server running at http://localhost:1234
🚨 /home/aistudio/Paddle.js/examples/tinyYolo/index.es6:4:15: Cannot resolve dependency '../../src/feed/imageFeed' at '/home/aistudio/Paddle.js/src/feed/imageFeed'
2 | import 'babel-polyfill';
3 | import Paddle from '../../src/paddle/paddle';

4 | import IO from '../../src/feed/imageFeed';

将aistudio@jupyter-141218-528471:~/Paddle.js/src/feed$ 目录下的一个imageFeed.es6文件改名为不带后缀,不再报错。

但是在使用chrome和safari两种浏览器里,均只能看到上传照片按钮,上传照片后没有任何输出。 不知道什么原因。。

你好,目前github repo中没有模型文件,您可以使用我们提供的模型转换工具将自己的paddle模型转换为paddle.js模型后放入目录以读取。
以tinyTolo为例,根据index.es6中的设置
const modelPath = { 'tinyYolo': 'model/tinyYolo' };
模型文件需要放入根目录/dist/model/tinyYolo。
关于模型转换工具的更多信息可以看README

from paddle.js.

zhongkai avatar zhongkai commented on May 13, 2024

close this issue cause new version released

from paddle.js.

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.