Comments (2)
按照例子里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.
close this issue cause new version released
from paddle.js.
Related Issues (20)
- 在系统性能低的环境运行packages/paddlejs-models/facedetect/demo时控制台直接报错
- 初始化模型时浏览器控制台报错
- configuration.node has an unknown property 'fs'. 在windwos的32位node上运行humanseg的demo报错。
- TS2307: Cannot find module '@paddlejs/paddlejs-core' or its corresponding type declarations.
- 是不是特别吃内存?
- 在线demo运行失败
- import * as humanseg from '@paddlejs-models/humanseg/lib/index_gpu';
- 服务挂了,啥时候修好?
- 转换模型出现这种bug是为什么
- 支持在react native中运行吗?
- Cannot install paddlejsconverter HOT 1
- 小程序引入paddlejs转换后的模型报错 HOT 1
- Cannot read property 'naturalHeight' of undefined HOT 1
- 项目跟本跑步起来啊 HOT 3
- [OCR] 识别视频截图导致帧率急剧降低 HOT 5
- 怎么转换成 tf 模型
- 使用paddlejsconverter转换paddleorc的中文文字识别模型后,模型不能正常加载。 HOT 4
- 在webWorker使用paddlecore:找不到document HOT 1
- ocr 识别失败
- safari:SyntaxError: Unexpected EOF HOT 2
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.js.