无法加载使用ernie-3.0-base-zh模型
BML codeelab中无法加载 ernie-3.0-base-zh 预训练模型, Calling ErnieForSequenceClassification.from_pretrained() with a model identifier or the path to a directory ...
使用Skep模型,动态图转静态图报错
官网地址,没有进行任何修改https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/sentiment_analysis,训练完模型之后,直接输入命令sh run_...
数字图像处理如何应用
from skimage import data from matplotlib import pyplot as plt import numpy as np image = data.coffee()#载入测试图像 fig- plt.figure() plt.rcParams ['font.sans-serif']=...
使用paddle2onnx转换模型出错
aistudio@jupyter-860908-5791289:~/Paddle3D$ aistudio@jupyter-860908-5791289:~/Paddle3D$ paddle2onnx --model_dir export_out/ --model_filename smoke.pdmodel --params_filename smoke.p...
调用实体标注API出现异常
# content包含错误信息, 导致不能直接被Json处理, 暂时手动赋值
content = '{"access_token":"24.f09dc12acdee91c09ae29b28568d0e4f.2592000.1517625677.282335-10438002"...
直接调用样例的一直报这个错误
[18/03/14 13:35:38:215][main][INFO] -com.baidu.aip.client.BaseClient.getAccessToken(BaseClient.java:209) get access_token success. current state: STATE_AIP_AUTH_OK
0 [main] INFO c...
调用rest-api接口时,返回的result是乱码
这个如何解决?
我加了这段转码都不行。
private static String getUtf8String(String s) throws UnsupportedEncodingException{ StringBuffer sb = new StringBuffer(); ...
使用语音识别找不到so文件
java.lang.UnsatisfiedLinkError: Couldn't load BDVoiceRecognitionClient_MFE_V1 from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.user.speechreco...
语音识别和语音合成同时使用问题
把百度语音识别和百度语音合成SDK同时导入时出现错误说“Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/baidu/androi...