# CV实践 **Repository Path**: simon0zero/cv-practice ## Basic Information - **Project Name**: CV实践 - **Description**: 计算机视觉的实验和一些模型的复刻 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-09-19 - **Last Updated**: 2024-10-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CV-practice 这是一个重新对计算机视觉进行复刻实验的仓库 # python搭建记录 ## 查看当前的使用镜像 ```shell pip config list ``` ## 设置pip全局镜像源 ```shell pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple ``` ## pip安装numpy ```shell pip install numpy ``` ## pip安装torch ```shell pip install torch ``` ## pip安装opencv-python ```shell pip install opencv-python ``` ## pip安装torchvision ```shell pip install torchvision ``` # git操作 ## 查看当前与远程关联的仓库 ```shell git remote -v ``` ## 添加远程仓库 ```shell git remote add origin git@gitee.com:用户名/仓库.git ``` ## 切换远程仓库 ```shell git remote set-url origin git@gitee.com:用户名/仓库.git ``` ## 查看当前与远程关联的仓库 ```shell git remote -v ``` ## 添加远程仓库 ```shell git remote add origin git@gitee.com:用户名/仓库.git ``` ## 切换远程仓库 ```shell git remote set-url origin git@gitee.com:用户名/仓库.git ``` # 搭建记录 将mnist.zip中的文件解压到mnist-classification的mnist目录下,应有test、train两个文件夹。