Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please help me run this app #33

Open
lwy980328 opened this issue Jul 19, 2021 · 0 comments
Open

please help me run this app #33

lwy980328 opened this issue Jul 19, 2021 · 0 comments

Comments

@lwy980328
Copy link

\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\MainActivity.java:24: ����: [deprecation] PluginRegistry�е�Registrar�ѹ�ʱ
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:17: ����: �����com.baidu.paddle.lite������
import com.baidu.paddle.lite.MobileConfig;
^
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:18: ����: �����com.baidu.paddle.lite������
import com.baidu.paddle.lite.PaddlePredictor;
^
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:19: ����: �����com.baidu.paddle.lite������
import com.baidu.paddle.lite.PowerMode;
^
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:20: ����: �����com.baidu.paddle.lite������
import com.baidu.paddle.lite.Tensor;
^
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:47: ����: �Ҳ�������
protected PaddlePredictor paddlePredictor = null;
^
����: �� PaddlePredictor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:191: ����: �Ҳ�������
public Tensor getInput(int idx) {
^
����: �� Tensor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:198: ����: �Ҳ�������
public Tensor getOutput(int idx) {
^
����: �� Tensor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:131: ����: �Ҳ�������
MobileConfig config = new MobileConfig();
^
����: �� MobileConfig
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:131: ����: �Ҳ�������
MobileConfig config = new MobileConfig();
^
����: �� MobileConfig
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:135: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_HIGH);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:137: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_LOW);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:139: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_FULL);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:141: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_NO_BIND);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:143: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_RAND_HIGH);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:145: ����: �Ҳ�������
config.setPowerMode(PowerMode.LITE_POWER_RAND_LOW);
^
����: ���� PowerMode
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:150: ����: �Ҳ�������
paddlePredictor = PaddlePredictor.createPaddlePredictor(config);
^
����: ���� PaddlePredictor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:214: ����: �Ҳ�������
Tensor inputTensor0 = getInput(0);
^
����: �� Tensor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:216: ����: �Ҳ�������
Tensor inputTensor1 = getInput(1);
^
����: �� Tensor
�: �� Predictor
\Documents\GitHub\realtime-object-detector\android\app\src\main\java\com\example\realtimeod\Predictor.java:277: ����: �Ҳ�������
Tensor outputTensor = getOutput(0);
^
����: �� Tensor
�: �� Predictor
19 ������
1 ������

FAILURE: Build failed with an exception.

i met problems above, I would be very grateful if you could help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant