You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
請教一下:我安裝了scratch3_knn,積木基本上可以呈現。但看javascript 主控台出現error如下。
checkPropTypes.js:20 Warning: Failed prop type: Invalid prop messages.videoSensing.off of type object supplied to Blocks, expected string.
in Blocks (created by Connect(Blocks))
in Connect(Blocks) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by TabPanel)
in TabPanel (created by MediaQuery)
in div (created by UncontrolledTabs)
in UncontrolledTabs (created by Tabs)
in Tabs (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in MediaQuery (created by GUIComponent)
in GUIComponent (created by Connect(GUIComponent))
in Connect(GUIComponent) (created by InjectIntl(Connect(GUIComponent)))
in InjectIntl(Connect(GUIComponent)) (created by GUI)
in GUI (created by Connect(GUI))
in Connect(GUI) (created by InjectIntl(Connect(GUI)))
in InjectIntl(Connect(GUI)) (created by CloudManager)
in CloudManager (created by Connect(CloudManager))
in Connect(CloudManager) (created by VMManager)
in VMManager (created by Connect(VMManager))
in Connect(VMManager) (created by VMListener)
in VMListener (created by Connect(VMListener))
in Connect(VMListener) (created by ProjectSaverComponent)
in ProjectSaverComponent (created by Connect(ProjectSaverComponent))
in Connect(ProjectSaverComponent) (created by TitledComponent)
in TitledComponent (created by Connect(TitledComponent))
in Connect(TitledComponent) (created by InjectIntl(Connect(TitledComponent)))
in InjectIntl(Connect(TitledComponent)) (created by ProjectFetcherComponent)
in ProjectFetcherComponent (created by Connect(ProjectFetcherComponent))
in Connect(ProjectFetcherComponent) (created by InjectIntl(Connect(ProjectFetcherComponent)))
in InjectIntl(Connect(ProjectFetcherComponent)) (created by QueryParserComponent)
in QueryParserComponent (created by Connect(QueryParserComponent))
in Connect(QueryParserComponent) (created by FontLoaderComponent)
in FontLoaderComponent (created by Connect(FontLoaderComponent))
in Connect(FontLoaderComponent) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by LocalizationWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by LocalizationWrapper)
in LocalizationWrapper (created by Connect(LocalizationWrapper))
in Connect(LocalizationWrapper) (created by HashParserComponent)
in HashParserComponent (created by Connect(HashParserComponent))
in Connect(HashParserComponent) (created by AppStateWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by AppStateWrapper)
in Provider (created by AppStateWrapper)
in AppStateWrapper
printWarning @ checkPropTypes.js:20
checkPropTypes @ checkPropTypes.js:82
validatePropTypes @ react.development.js:1171
createElementWithValidation @ react.development.js:1268
render @ connectAdvanced.js:243
finishClassComponent @ react-dom.development.js:7873
updateClassComponent @ react-dom.development.js:7850
beginWork @ react-dom.development.js:8225
performUnitOfWork @ react-dom.development.js:10224
workLoop @ react-dom.development.js:10288
callCallback @ react-dom.development.js:542
invokeGuardedCallbackDev @ react-dom.development.js:581
invokeGuardedCallback @ react-dom.development.js:438
renderRoot @ react-dom.development.js:10366
performWorkOnRoot @ react-dom.development.js:11014
performWork @ react-dom.development.js:10967
batchedUpdates @ react-dom.development.js:11086
batchedUpdates @ react-dom.development.js:2330
dispatchEvent @ react-dom.development.js:3421
mobilenet.js:1131 Uncaught (in promise) TypeError: tf.loadModel is not a function
at MobileNet. (mobilenet.js:1131)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
at mobilenet.js:28
at new Promise ()
at __awaiter (mobilenet.js:24)
at MobileNet.load (mobilenet.js:1124)
at Object. (mobilenet.js:1106)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
Uncaught (in promise) TypeError: tf.loadModel is not a function
at MobileNet. (mobilenet.js:1131)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
at mobilenet.js:28
at new Promise ()
at __awaiter (mobilenet.js:24)
at MobileNet.load (mobilenet.js:1124)
at Object. (mobilenet.js:1106)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
請教一下:我安裝了scratch3_knn,積木基本上可以呈現。但看javascript 主控台出現error如下。
checkPropTypes.js:20 Warning: Failed prop type: Invalid prop
messages.videoSensing.off
of typeobject
supplied toBlocks
, expectedstring
.in Blocks (created by Connect(Blocks))
in Connect(Blocks) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by TabPanel)
in TabPanel (created by MediaQuery)
in div (created by UncontrolledTabs)
in UncontrolledTabs (created by Tabs)
in Tabs (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in MediaQuery (created by GUIComponent)
in GUIComponent (created by Connect(GUIComponent))
in Connect(GUIComponent) (created by InjectIntl(Connect(GUIComponent)))
in InjectIntl(Connect(GUIComponent)) (created by GUI)
in GUI (created by Connect(GUI))
in Connect(GUI) (created by InjectIntl(Connect(GUI)))
in InjectIntl(Connect(GUI)) (created by CloudManager)
in CloudManager (created by Connect(CloudManager))
in Connect(CloudManager) (created by VMManager)
in VMManager (created by Connect(VMManager))
in Connect(VMManager) (created by VMListener)
in VMListener (created by Connect(VMListener))
in Connect(VMListener) (created by ProjectSaverComponent)
in ProjectSaverComponent (created by Connect(ProjectSaverComponent))
in Connect(ProjectSaverComponent) (created by TitledComponent)
in TitledComponent (created by Connect(TitledComponent))
in Connect(TitledComponent) (created by InjectIntl(Connect(TitledComponent)))
in InjectIntl(Connect(TitledComponent)) (created by ProjectFetcherComponent)
in ProjectFetcherComponent (created by Connect(ProjectFetcherComponent))
in Connect(ProjectFetcherComponent) (created by InjectIntl(Connect(ProjectFetcherComponent)))
in InjectIntl(Connect(ProjectFetcherComponent)) (created by QueryParserComponent)
in QueryParserComponent (created by Connect(QueryParserComponent))
in Connect(QueryParserComponent) (created by FontLoaderComponent)
in FontLoaderComponent (created by Connect(FontLoaderComponent))
in Connect(FontLoaderComponent) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by LocalizationWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by LocalizationWrapper)
in LocalizationWrapper (created by Connect(LocalizationWrapper))
in Connect(LocalizationWrapper) (created by HashParserComponent)
in HashParserComponent (created by Connect(HashParserComponent))
in Connect(HashParserComponent) (created by AppStateWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by AppStateWrapper)
in Provider (created by AppStateWrapper)
in AppStateWrapper
printWarning @ checkPropTypes.js:20
checkPropTypes @ checkPropTypes.js:82
validatePropTypes @ react.development.js:1171
createElementWithValidation @ react.development.js:1268
render @ connectAdvanced.js:243
finishClassComponent @ react-dom.development.js:7873
updateClassComponent @ react-dom.development.js:7850
beginWork @ react-dom.development.js:8225
performUnitOfWork @ react-dom.development.js:10224
workLoop @ react-dom.development.js:10288
callCallback @ react-dom.development.js:542
invokeGuardedCallbackDev @ react-dom.development.js:581
invokeGuardedCallback @ react-dom.development.js:438
renderRoot @ react-dom.development.js:10366
performWorkOnRoot @ react-dom.development.js:11014
performWork @ react-dom.development.js:10967
batchedUpdates @ react-dom.development.js:11086
batchedUpdates @ react-dom.development.js:2330
dispatchEvent @ react-dom.development.js:3421
mobilenet.js:1131 Uncaught (in promise) TypeError: tf.loadModel is not a function
at MobileNet. (mobilenet.js:1131)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
at mobilenet.js:28
at new Promise ()
at __awaiter (mobilenet.js:24)
at MobileNet.load (mobilenet.js:1124)
at Object. (mobilenet.js:1106)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
Uncaught (in promise) TypeError: tf.loadModel is not a function
at MobileNet. (mobilenet.js:1131)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
at mobilenet.js:28
at new Promise ()
at __awaiter (mobilenet.js:24)
at MobileNet.load (mobilenet.js:1124)
at Object. (mobilenet.js:1106)
at step (mobilenet.js:54)
at Object.next (mobilenet.js:35)
可以看到webcam畫面,無法辨識。可有解決方法?
系統ubuntu 18.04 brower : chrome 84.0.4147.105
The text was updated successfully, but these errors were encountered: