MindSearch 部署到Github Codespace 和 Hugging Face Space

conda init后需要重开终端,不然一键复制会导致后续pip install会安装错环境

还是报错

ImportError: cannot import name 'AutoRegister' from 'class_registry' (/opt/conda/envs/mindsearch/lib/python3.10/site-packages/class_registry/__init__.py)
pip install --upgrade class_registry
  1. 部署到 HuggingFace Space

打开Setting------Access token(记得里面的全勾上,不然没权限)

cd /workspaces/codespaces-blank

要进入仓库

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

1.报错:fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
解决: git init 

2.报错:error: No such remote 'space'
解决:git remote -v   #如果没有任何反应表示需要添加
git remote add space https://huggingface.co/spaces/<你的名字>/<仓库名称>

报错和流程修正参考

hugging face成果

相关推荐
刘经纬老师4 分钟前
在字符串序列的每个元素中查找指定字符串Series.str.contains()
开发语言·python
Hello.Reader11 分钟前
深入解析 ChatGLM 模型:核心原理、优势与未来应用前景
人工智能·深度学习
C7211BA25 分钟前
CNN模型对CIFAR-10中的图像进行分类
人工智能·分类·cnn
comedate26 分钟前
【ChatGPT】Python 实现计算两线段的变换矩阵
python·矩阵变换·俩线段的变换
国科安芯27 分钟前
IAR全面支持国科环宇AS32X系列RISC-V车规MCU
人工智能·单片机·mcu·risc-v
上理考研周导师28 分钟前
【数字图像处理】第一章 数字图像处理概论,图像的分类。主要内容
人工智能·计算机视觉
winds~1 小时前
自动驾驶-轨迹拼接
人工智能·机器学习·自动驾驶
唐 城1 小时前
Debian 配置 Python 开发与运行环境
开发语言·python
白总Server2 小时前
CNN+Transformer在自然语言处理中的具体应用
人工智能·神经网络·缓存·自然语言处理·rust·cnn·transformer
深度学习实战训练营2 小时前
基于Keras的U-Net模型在图像分割与计数中的应用
人工智能·深度学习·keras