训练模板train.py出现bug:Could not authorize you against Realms server: Invalid session id

Exception                                 Traceback (most recent call last)
~/competition_submission_template/train.py in <module>
     77 
     78 if __name__ == "__main__":
---> 79     main()

~/competition_submission_template/train.py in main()
     72     # Save trained model to train/ directory
     73     # Training 100% Completed
---> 74     aicrowd_helper.register_progress(1)
     75     #env.close()
     76 

~/competition_submission_template/aicrowd_helper.py in register_progress(progress)
    108     if current_phase is None:
    109         raise Exception('Please register current phase by calling `training_start` \
--> 110                          or `inference_start` before sending progress.')
    111     if current_phase == "training":
    112         if progress < training_progress:

Exception: Please register current phase by calling `training_start`                          or `inference_start` before sending progress.

2020-08-07 11:55:36 bogon minerl.env.malmo.instance.49bff9[845] DEBUG [11:55:36] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id

是什么意思
为啥
怎么改

competition_submission_template/train.py
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
回答: 出现这个错误的原因可能是身份验证失败。根据引用提到的错误信息,报错是" Incorrect username or password (access token)",说明输入的用户名或密码不正确。你可以确认一下你输入的用户名和密码是否正确。如果你使用的是访问令牌(access token)进行身份验证,也需要确认令牌是否有效。另外,还可以尝试使用SSH密钥进行身份验证,参考引用中提到的添加SSH公钥和连接远程库的操作。如果以上方法仍然无法解决问题,可以检查网络连接是否正常,或者尝试重新设置远程仓库的URL,参考引用中提到的方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [Access denied: 404 not found fatal: Could not read from remote repository.](https://blog.csdn.net/qq_36934489/article/details/120165812)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [git 连接gitee时报错 Auth error: Access deined: authorize ... fatal: Could not read from remote repos](https://blog.csdn.net/weixin_46624670/article/details/122162396)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值