启智平台上传较大数据集

1.安装anconda

2.安装openi

(python38) C:\Users\33659>pip install -U openi -i https://pypi.tuna.tsinghua.edu.cn/simple

3.输入token

获取token的方式见官方教程:
https://openi.pcl.ac.cn/docs/index.html#/api/token

openi login
(python38) C:\Users\33659>openi login


         ██████╗   ██████╗  ███████╗  ███╗   ██╗  ██████╗
        ██╔═══██╗  ██╔══██╗ ██╔════╝  ████╗  ██║    ██╔═╝
        ██║   ██║  ██████╔╝ █████╗    ██╔██╗ ██║    ██║
        ██║   ██║  ██╔═══╝  ██╔══╝    ██║╚██╗██║    ██║
        ╚██████╔╝  ██║      ███████╗  ██║ ╚████║  ██████╗
         ╚═════╝   ╚═╝      ╚══════╝  ╚═╝  ╚═══╝  ╚═════╝


点击链接获取令牌并复制粘贴到下列输入栏 https://openi.pcl.ac.cn/user/settings/applications

[WARNING] 若本机已保存登录令牌,本次输入的令牌会将其覆盖
           建议使用鼠标右键粘贴,避免输入多余字符

   token: ****************************************

Your token was saved to `C:\Users\33659\.openi\token.json`
Successfully log in as `liyaya` @https://openi.pcl.ac.cn!

4.上传zip格式的数据

openi dataset upload liyaya/KG-ICL F:/pythonproject/new/KG-ICL-main/KG-ICL-main/processed_data.zip --token 你自己的token
(python38) C:\Users\33659>openi dataset upload liyaya/KG-ICL F:/pythonproject/new/KG-ICL-main/KG-ICL-main/processed_data.zip --token ********
✅ processed_data.zip: 100%|██████████████████████████████████████████████████████████| 1.86G/1.86G [10:59<00:00, 3.03MB/s]

你可能感兴趣的:(python,问题记录,服务器,python,conda)