点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
你好
我在创建网络存储以使用自定义数据模型重新训练图像分类API时遇到麻烦。 一个月前,我能够成功创建和训练自定义数据模型。 但是,由于试用帐户仅可使用30天,因此删除了自定义模型。 现在,我想重新创建所有内容,但我仍然坚持用Postman创建网络存储。 这在4周前工作正常。 这是我现在在创建网络存储时收到的请求和错误消息:
https://mlftrial-retrain-image-api.cfapps.eu10.hana.ondemand.com/api/v2/image/retraining/storage
401 | 694ms
POST/api/v2/image/retraining/存储HTTP/1.1
内容类型:application/json
授权:承载eyJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vczAwMDk2MjI2NDZ0cmlhbC5hdXRoZW50aWNhdGlvbi5ldTEwLmhhbmEub25kZW1hbmQuY29tL3Rva2VuX2tleXMiLCJraWQiOiJrZXktaWQtMSIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhYzk4OTQ1M2VlOWM0OGY5OWJjNGQ5Nzk4NTQzNjhkOCIsImV4dF9hdHRyIjp7ImVuaGFuY2VyIjoiWFNVQUEiLCJ6ZG4iOiJzMDAwOTYyMjY0NnRyaWFsIiwic2VydmljZWluc3RhbmNlaWQiOiIzNmU4NTNkMy1lOWZiLTQwOTAtOTFhYi04ZjM2NzBhYWY4N2IifSwic3ViIjoic2ItMzZlODUzZDMtZTlmYi00MDkwLTkxYWItOGYzNjcwYWFmODdiIWIyNzc1MXxmb3VuZGF0aW9uLXN0ZC1tbGZ0cmlhbCFiMzQxMCIsImF1dGhvcml0aWVzIjpbInVhYS5yZXNvdXJjZSIsImZvdW5kYXRpb24tc3RkLW1sZnRyaWFsIWIzNDEwLnJldHJhaW5zZXJ2aWNlLnJlYWQiLCJmb3VuZGF0aW9uLXN0ZC1tbGZ0cmlhbCFiMzQxMC5tb2RlbHNlcnZpY2UucmVhZCIsImZvdW5kYXRpb24tc3RkLW1sZnRyaWFsIWIzNDEwL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NNHxWcFpc9GtJgR7s3jLTe0zOGRhCBJKRxu1t_2ksszA7bqqS6vigsIhQAjRauR5kiVh81RTMqvGwUU5TrtGjRXfvV_3PpSNFrxtlRVWYwhINGw1s3yVQN 4QUuI2taGuR_Y3LXydwTsSpRbdRgkrxV2vOGSalU7S798_KDtLuBUIPVczF_jvZvxGiHW2W1sdgTguAD59CW1A0O-C_V6-3WWulTWVwcXTodi_IAGzLY7BQXqGeLezhOw_GJc02FXA-XCbjYJKoRpZjxzmgaOkD4Rc8KI1VpDq3kPsgbwSFDH63SAHXD_NfVsBdfF0Y1CC0UDvgXSvXi_a0kwTswN6dDutQ4FNFB28VPaH5r_UtC1zz93ObLjcXDICR0CMV1a6zoVK7_3fp9AVruMVKPgtLn1c1S6QuhAqVMx2LJToVzsWkpi3ITYZrgiwAQFVLh4AltbdPSCH3_XlntlStbctFVtoOhP3CAKYd9Qo
用户代理:PostmanRuntime/7.19.0
接受:*/*
缓存控制:无缓存
邮递员令牌:3a8b5cc1-21e6-4cae-b3a8-0da0178f3622
主机: mlftrial-retrain-image-api .cfapps.eu10.hana.ondemand.com
接受编码:gzip,放气
内容长度:0
连接:保持活动状态
HTTP/1.1 401未经授权
内容长度:373
内容类型:application/json
日期:2019年11月4日星期一13:54:38 GMT
服务器:Werkzeug/0.15.6 Python/3.5.7
X-Vcap-Request-Id:f0687708-2e30-4719-7445-53d75a5a25dd
严格的运输安全性:max-age = 31536000; includeSubDomains; 预载;
{"错误":{"代码":" 401","详细信息":[{"响应":" {\"代码\":\" 401 \",\"详细信息":null,\ " message \":\"无效的JWT令牌:'不允许的JWT标头:'jku'= https://mlf-trial.authentication.eu10.hana.ondemand.com/token_keys。'"," request_id":null," target":"/img/api/v2/storage" } n"}],"消息":"存储配置过程中发生错误"," requestId":" f0687708-2e30-4719-7445-53d75a5a25dd"}}
你好,罗伯特,我发现将现有的邮递员请求切换到另一个DI实例并不总是可以立即进行。 我假设Postman保留了第一个DI实例的一些会话信息。 然后将带有旧会话详细信息的请求指向第二个DI会导致不匹配。 我并没有花很多时间来弄清这件事的底部,但是您可以快速测试在Postman中创建一个新请求是否可以使它工作。
问候安德烈亚斯
再次问好安德烈亚斯
我遇到了另一个问题。 现在,在尝试训练自定义数据模型时出现错误:
{error":{" code":" 400"," details":[{" Response":" {\ n \" code \":\" 400 \",\ n \" message \": \"无效的资源计划:标准\" \ n} \ n"}],"消息":"作业提交期间出错"," requestId":" 4f325506-8c79-4d8d-7826-784368e314a4"}}
试用帐户是否有新的限制,使其不再能够训练自定义模型? 我只能在SCP中创建实例时选择标准计划。
致谢
Robert
你好安德里亚斯
感谢您的快速解答! 新请求保持不变。 但是,我重新安装了邮递员,它工作正常。
问题解决了! 非常感谢
一周热门 更多>