diff --git a/PyTorch/built-in/autonoumous_driving/MatrixVT/2.2_requirements.txt b/PyTorch/built-in/autonoumous_driving/MatrixVT/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..fb166d455a40109cb5d0c332fb917fde64aa518b --- /dev/null +++ b/PyTorch/built-in/autonoumous_driving/MatrixVT/2.2_requirements.txt @@ -0,0 +1,14 @@ +numba==0.58.1 +numpy<=1.23.5 +nuscenes-devkit +opencv-python-headless +pandas +pytorch-lightning==1.6.5 +scikit-image +scipy +setuptools==59.5.0 +tensorboardX +torchvision==0.17.0 +mmdet==2.28.0 +mmsegmentation==0.30.0 +protobuf==3.20.1 \ No newline at end of file diff --git a/PyTorch/built-in/autonoumous_driving/MatrixVT/README.md b/PyTorch/built-in/autonoumous_driving/MatrixVT/README.md index 9ab5502bc8549a5ad414d92709e74887be7f73d4..0cd1604ba4015cfabc5f8fac7ba728ecd9227534 100644 --- a/PyTorch/built-in/autonoumous_driving/MatrixVT/README.md +++ b/PyTorch/built-in/autonoumous_driving/MatrixVT/README.md @@ -35,6 +35,7 @@ | Torch_Version | 三方库依赖版本 | | :--------: | :----------------------------------------------------------: | | PyTorch 2.1 | numpy<=1.23.5 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -45,6 +46,7 @@ 在模型源码包根目录下执行命令,安装模型需要的依赖。 ```shell pip install -r requirements.txt + pip install -r 2.2_requirements.txt # PyTorch 2.2版本 ``` - 安装mmcv==1.x(如果环境中有mmcv,请先卸载再执行以下步骤)。 diff --git a/PyTorch/built-in/autonoumous_driving/OpenPCDet/2.2_requirements.txt b/PyTorch/built-in/autonoumous_driving/OpenPCDet/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..81cb3ddcaf72d9635ee441a66e415b0d56f2d316 --- /dev/null +++ b/PyTorch/built-in/autonoumous_driving/OpenPCDet/2.2_requirements.txt @@ -0,0 +1,17 @@ +numpy +llvmlite +numba +tensorboardX +easydict +pyyaml +scikit-image +tqdm +torchvision==0.17.0 +SharedArray +opencv-python +pyquaternion +pccm==0.3.4 +torch_scatter +opencv-python-headless +av2 +kornia==0.6.5 \ No newline at end of file diff --git a/PyTorch/built-in/autonoumous_driving/OpenPCDet/README.md b/PyTorch/built-in/autonoumous_driving/OpenPCDet/README.md index e1d022f926ba88c414939229b49724aa79584598..0449624e08c8a49346df069d077adeb8084e1100 100644 --- a/PyTorch/built-in/autonoumous_driving/OpenPCDet/README.md +++ b/PyTorch/built-in/autonoumous_driving/OpenPCDet/README.md @@ -31,6 +31,7 @@ code_path=PyTorch/built-in/autonoumous_driving | Torch_Version | 三方库依赖版本 | | :--------: | :----------------------------------------------------------: | | PyTorch 2.10 | torchvision 0.16.0 | + | PyTorch 2.2 | torchvision 0.17.0 | - 环境准备指导。 @@ -41,7 +42,8 @@ code_path=PyTorch/built-in/autonoumous_driving 在模型源码包根目录下执行命令,安装模型需要的依赖。 ``` conda create -n env_name python=3.8 - pip install -r requirements.txt + pip install -r requirements.txt # PyTorch 2.1 版本 + pip install -r 2.2_requirements.txt # PyTorch 2.2 版本 ``` #### 2. 手动编译安装cumm和spconv diff --git a/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..a7d73e27848f7c964cc9b0c10f26cfa9a88b2227 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,24 @@ +torch==2.2.0 +torchvision==0.17.0 +timm==0.4.12 +Pillow +blobfile +mypy +numpy +pytest +requests +einops +tensorboardX +deepspeed==0.4.0 +scipy +decorator +attrs +absl-py +cloudpickle +synr==0.5.0 +protobuf==3.20.0 +tornado +ftfy +regex +sympy + diff --git a/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/README.md index 3d4c781465457eb285db8e65302d534ed98fc52b..b767388b8c05677bb8c0e883a5755943aad97c32 100644 --- a/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Beit2_for_PyTorch/README.md @@ -56,9 +56,8 @@ BEiT v2是基于矢量量化视觉标记的掩码图像模型 | firmware| 6.4.0.5.220 | [link ](https://support.huawei.com/enterprise/zh/ascend-computing/ascend-hdk-pid-252764743/software/261425590?idAbsPath=fixnode01%7C23710424%7C251366513%7C22892968%7C252764743) | | CANN | Ascend-cann-toolkit_7.0.0.alpha002_linux | [link](https://ascend-repo.obs.myhuaweicloud.com/CANN_Test/20231116/Ascend-cann-toolkit_7.0.0.alpha002_linux-x86_64.run) [link](https://ascend-repo.obs.myhuaweicloud.com/CANN_Test/20231116/Ascend-cann-toolkit_7.0.0.alpha002_linux-aarch64.run) | | binary arithmetic package | Ascend-cann-kernels-910b_7.0.0.alpha002_linux | [link](https://ascend-repo.obs.myhuaweicloud.com/CANN_Test/20231116/Ascend-cann-kernels-910b_7.0.0.alpha002_linux.run) | -| torch | 2.1.0 |[link](https://download.pytorch.org/whl/torch/)| -| torch_npu | torch_npu-2.1.0.post20231115| [link](https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/pta/Daily/v2.1.0/20231115.2/pytorch_v2.1.0_py38.tar.gz) | -|torchvision| 0.16.0|——| +| PyTorch 2.1 | torchvision==0.16.0 | +| PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -66,17 +65,14 @@ BEiT v2是基于矢量量化视觉标记的掩码图像模型 - 安装流程。 +在模型源码包根目录下执行命令,安装模型对应PyTorch版本需要的依赖。 ``` # python3.8 conda create -n beit2env python=3.8 conda activate beit2env - # install torch and torch_npu - pip install torch-2.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl - pip install torch_npu-2.1.0.post20231115-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64 - - # install other packages - pip install -r requirements.txt + pip install -r 2.1_requirements.txt # PyTorch2.1版本 + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` ## 准备数据集 diff --git a/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..bdfe989892b2ce7195c4880b093a8014485cc828 --- /dev/null +++ b/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,10 @@ +easydict==1.9 +lmdb==0.98 +PyYAML==5.3 +Pillow==9.1.0 +torchvision==0.17.0 +six +decorator +sympy +attrs +scipy diff --git a/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/README.md index 5a96fe36457bc9443f998b11e60552d09315da9e..018a345380c5375c0940a3a97979fa9eb50e3a31 100644 --- a/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/CRNN_for_PyTorch/README.md @@ -42,6 +42,7 @@ CRNN (Convolutional Recurrent Neural Network) 于2015年由华中科技大学的 | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -58,6 +59,8 @@ CRNN (Convolutional Recurrent Neural Network) 于2015年由华中科技大学的 pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..b2ba093f6fd70a4eaee945f3a058263fef0a25a6 --- /dev/null +++ b/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,3 @@ +torchvision==0.17.0 +timm==0.4.5 +pillow==9.1.0 diff --git a/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/README.md index 64d293f320c0ecc9185cc67e550b4e77a9c12153..885efd3e0c789f41fe42426f2068860f1e2f5154 100644 --- a/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/DINO_ID3436_for_PyTorch/README.md @@ -44,6 +44,7 @@ DINO 是一个非监督的图像语义分割模型,模型结合transformer采 | PyTorch 1.5 | torchvision==0.6.0 | | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -58,6 +59,8 @@ DINO 是一个非监督的图像语义分割模型,模型结合transformer采 pip install -r 1.8_requirements.txt # PyTorch1.8版本 pip install -r 1.11_requirements.txt # PyTorch1.11版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..f6f992b3a004c502e010267c34102b16d7480db3 --- /dev/null +++ b/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,5 @@ +decorator +sympy +pillow==9.1.0 +torchvision==0.17.0 +backports.lzma \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/README.md index dfd4dd7e18997eabbfd281441b6e107d097afc4f..b9b4d7d355c67ba8bd208873c2065068c1517817 100644 --- a/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/DenseNet201_ID0453_for_PyTorch/README.md @@ -41,6 +41,7 @@ DenseNet-201 是一个预训练模型,已经在 ImageNet 数据库的一个子 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -53,6 +54,8 @@ DenseNet-201 是一个预训练模型,已经在 ImageNet 数据库的一个子 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..0dd0e3796706149a3c543c4f63a6c835646afd52 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,3 @@ +decorator +sympy +torchvision==0.17.0 diff --git a/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/README.md index 064b71fd4b239da26415e276ef9058e077e40494..7c194c16238f7fa519956328c91ac9e57eff9c8c 100644 --- a/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Densenet121_for_PyTorch/README.md @@ -41,6 +41,7 @@ DenseNet-121是一个经典的图像分类网络,对于一个L层的网络,D | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -58,6 +59,8 @@ DenseNet-121是一个经典的图像分类网络,对于一个L层的网络,D pip install -r 1.11_requirements.txt # Pytorch1.11版本 pip install -r 2.1_requirements.txt # Pytorch2.1版本 + + pip install -r 2.2_requirements.txt # Pytorch2.2版本 ``` > **说明:** > 只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..7cbf89b1572a4bdf8b25fbfffa8ef51f85d4dcc6 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,3 @@ +torchvision==0.17.0 +pyyaml +pillow==10.2.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/README.md index 45fa31393365d83c4e4b35a921446925a2feba3f..4f4dbee8351b2d33861e1eeb575698c8431e545a 100644 --- a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1b_for_PyTorch/README.md @@ -43,6 +43,7 @@ ResNet-b相比ResNet修改了下采样模块,将残差分支的下采样模块 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..34990fb64fcbecaf61dd7ea0c0f5f0de94398db8 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,3 @@ +pillow==10.2.0 +pyyaml +torchvision==0.17.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/README.md index b9bcfbcf0cf716ee148139afe123a614b01671cd..099a24e15d59c3d72a3c9d271bf51f40f2006541 100644 --- a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1c_for_PyTorch/README.md @@ -41,7 +41,7 @@ ResNet-c相比ResNet将输入部分的7×7卷积替换为3个3×3卷积核,降 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | - + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 请参考《[Pytorch框架训练环境准备](https://www.hiascend.com/document/detail/zh/ModelZoo/pytorchframework/ptes)》。 @@ -53,6 +53,8 @@ ResNet-c相比ResNet将输入部分的7×7卷积替换为3个3×3卷积核,降 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..34990fb64fcbecaf61dd7ea0c0f5f0de94398db8 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,3 @@ +pillow==10.2.0 +pyyaml +torchvision==0.17.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/README.md index a84ed03c50608188f903301ff58ff2b858971adc..536fecc861c375589752f622edac95284d43c18e 100644 --- a/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Gluon_ResNet50_v1d_for_PyTorch/README.md @@ -41,6 +41,7 @@ ResNet-d在ResNet-b的基础上,将identity部分的下采样交给avg pool去 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -53,6 +54,8 @@ ResNet-d在ResNet-b的基础上,将identity部分的下采样交给avg pool去 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch1.8版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..a90c65cf2d463e842db093a2c5433c2025297e5a --- /dev/null +++ b/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,2 @@ +pillow==10.2.0 +torchvision==0.17.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/README.md index 14c76aa8948586a695ddaecddba1a4dcfc960681..07bfc7596e69849556e8129ef541ed65c7204e8c 100644 --- a/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Googlenet_ID0447_for_PyTorch/README.md @@ -39,6 +39,7 @@ GoogLeNet是2014年Christian Szegedy提出的一种全新的深度学习结构 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -51,6 +52,8 @@ GoogLeNet是2014年Christian Szegedy提出的一种全新的深度学习结构 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..5cd9d03601e3d0227d218925db9057883a3c45c9 --- /dev/null +++ b/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,4 @@ +torchvision==0.17.0 +pip +numpy +pillow==10.2.0 diff --git a/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/README.md index 258df632f0cb8e370449057f465570d94a6855fe..a5eb9587fc0ef7b9eff0d2bfb9a75e3982c491a8 100644 --- a/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/MobileNetV1_ID0094_for_PyTorch/README.md @@ -40,6 +40,7 @@ | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.6.0 | | PyTorch 1.8 | torchvision==0.9.1 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -52,6 +53,8 @@ pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..fc29df5eff22569c90c50a9dcee8b3d84734bd3f --- /dev/null +++ b/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,2 @@ +torchvison==0.17.0 +pillow==10.2.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/README.md index 73ca5ce039113ebceb0cab5ff667124e85fc87b9..dd77f98782a40aeb6c0c2204d618aa226f51c218 100644 --- a/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/MobileNetV2_for_PyTorch/README.md @@ -41,6 +41,7 @@ | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -57,6 +58,8 @@ pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..0bd5a72de03c2778a89b9b58ce21dfb2367f4b8e --- /dev/null +++ b/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,2 @@ +torchvision==0.17.0 +pillow==10.2.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/README.md index 43241594398487a64ed214522b3afd407102cea3..c95a4bbff7193310e731d6488d195c4aa2e56945 100644 --- a/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/MobileNetV3-Large_ID1784_for_PyTorch/README.md @@ -40,6 +40,7 @@ MobileNetV3结合了MobileNetV1的深度可分离卷积、MobileNetV2的Inverted | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -56,6 +57,8 @@ MobileNetV3结合了MobileNetV1的深度可分离卷积、MobileNetV2的Inverted pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..fa9918ac36541c810d65baa9aed35c72f12346ca --- /dev/null +++ b/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,8 @@ +pyyaml +scipy +termcolor +timm==0.6.7 +torchvision==0.17.0 +yacs==0.1.8 +Pillow==10.2.0 +opencv-python==4.6.0.66 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/README.md index 21c5d0b22501aff33d8b89c1c1e919ccc946f037..ae6fc82f064db03a89335acf94ca38db31975072 100644 --- a/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/SimMIM_for_PyTorch/README.md @@ -42,6 +42,7 @@ | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | torchvision==0.12.0;pillow==9.1.0 | | PyTorch 2.1 | torchvision==0.16.0;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==9.1.0 | - 环境准备指导。 @@ -58,6 +59,8 @@ pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..543c9dbad5cda4b148ad05af0cf19ac5ac71dfc5 --- /dev/null +++ b/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,7 @@ +torchvision==0.17.0 +pillow==10.2.0 +opencv-python==4.4.0.46 +termcolor==1.1.0 +yacs==0.1.8 +diffdist +timm==0.4.5 \ No newline at end of file diff --git a/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/README.md b/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/README.md index d54d4326d8cada26d514101d069e7c1e0cb5696d..780b5107a6ce3d43ef2f22f71539dcebd0d41be1 100644 --- a/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/classification/Transformer-SSL_ID3434_for_PyTorch/README.md @@ -42,6 +42,7 @@ Transformer-SSL 是一个以Swin-Transformer作为骨干网络的自监督模型 | PyTorch 1.5 | torchvision==0.6.0;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | timm==0.4.5 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -56,6 +57,8 @@ Transformer-SSL 是一个以Swin-Transformer作为骨干网络的自监督模型 pip install -r 1.8_requirements.txt # PyTorch1.8版本 pip install -r 1.11_requirements.txt # PyTorch1.11版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..3dae720b7742a1c23979ade397daaef5e665aa36 --- /dev/null +++ b/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,7 @@ +Cython==0.29.17 +imgaug==0.4.0 +opencv-python +Pillow==10.2.0 +six==1.15.0 +tqdm +torchvision==0.17.0 diff --git a/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/README.md index 34be631e81f8718dca1064bf32e11353a2129759..6c2aa02e99b7bd2aa41dfb050eada6800c307858 100644 --- a/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/DAL_ID2732_for_PyTorch/README.md @@ -39,6 +39,7 @@ DAL模型是一个高效的目标检测模型,它提出了匹配度度量来 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -51,6 +52,8 @@ DAL模型是一个高效的目标检测模型,它提出了匹配度度量来 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch1.8版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..e857d4a3d2ba32eb72e3bfdc77739d937217d6ac --- /dev/null +++ b/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,6 @@ +torchvision==0.17.0 +Shapely==1.8.2 +-r requirements/build.txt +-r requirements/optional.txt +-r requirements/runtime.txt +-r requirements/tests.txt diff --git a/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/README.md index 7511bd95cbf5dec4e1ae3d282e2bd5539cdedd9f..1561ca78c01953c803f9b4adbb6710b59d82fe39 100644 --- a/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/DBpp_ID4145_for_PyTorch/README.md @@ -41,6 +41,7 @@ MMOCR是基于PyTorch和MMDetection的开源工具包,支持众多OCR相关模 | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -54,6 +55,7 @@ MMOCR是基于PyTorch和MMDetection的开源工具包,支持众多OCR相关模 pip install -r 1.8_requirements.txt # PyTorch1.8版本 pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` 如果pytorch版本大于等于2.0,请参考[链接](http://download.openmmlab.com/mmcv/dist/npu/torch1.8.0/index.html)下载相应架构mmcv的wheel包 diff --git a/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..89417e5af523678ecf19b933e4d625fb453d8bd9 --- /dev/null +++ b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,6 @@ +pillow==10.2.0 +torchvision==0.17.0 +fvcore +pycocotools +cloudpickle +tensorboard==1.15.0 diff --git a/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/README.md index 12d576ce43e1d77256ef9cfeccbfe17dee0e031c..30006e9df6e46b53c0ff93062da96d9e9a17a4ee 100644 --- a/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/README.md @@ -43,6 +43,7 @@ FasterRCNN是一个业界领先的目标检测网络,他继承了FastRCNN的 | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -59,6 +60,8 @@ FasterRCNN是一个业界领先的目标检测网络,他继承了FastRCNN的 pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..94f25b5d41648a33cdb4cb24e2dc8356c48ca312 --- /dev/null +++ b/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,5 @@ +torchvision==0.17.0 +-r requirements/build.txt +-r requirements/optional.txt +-r requirements/runtime.txt +-r requirements/tests.txt \ No newline at end of file diff --git a/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/README.md index 85b8860ee69c4402b78e70ad29f20377607ad731..9fcff8a1f4c7b09a452dd35c552cddeef53a6e88 100644 --- a/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/RetinaNet_for_PyTorch/README.md @@ -40,6 +40,7 @@ RetinaNet提出了一种使用Focal Loss的全新结构RetinaNet,使用ResNet+ | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -56,6 +57,8 @@ RetinaNet提出了一种使用Focal Loss的全新结构RetinaNet,使用ResNet+ pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..c3e8002c64579e73f92051aab366e605775f644b --- /dev/null +++ b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,8 @@ +numpy==1.21.6 +opencv-python >= 4.1 +matplotlib +pycocotools == 2.0.2 +tqdm +pillow == 10.2.0 +tensorboard == 1.15.0 +torchvision==0.17.0 diff --git a/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/README.md index ed64374bb8a3a4a7d75786bd157ad3b6b82c7152..634e6cf33b3a9b83981436f44090393d0eca2dea 100644 --- a/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/README.md @@ -41,6 +41,7 @@ YOLO是一个经典的物体检测网络,将物体检测作为回归问题求 | PyTorch 1.5 | torchvision==0.6.0;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | torchvision==0.9.1;pillow==9.1.0;numpy==1.21.6 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0;numpy==1.21.6 | - 环境准备指导。 @@ -55,6 +56,8 @@ YOLO是一个经典的物体检测网络,将物体检测作为回归问题求 pip install -r 1.8_requirements.txt # PyTorch1.8版本 pip install -r 1.11_requirements.txt # PyTorch1.11版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..25d7a5c229a22c774fff906ac5d43a5a3b9b0226 --- /dev/null +++ b/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,8 @@ +numpy == 1.17 +opencv-python >= 4.1 +torchvision == 0.17.0 +matplotlib +pycocotools +tqdm +pillow == 10.2.0 +tensorboard >= 1.14 \ No newline at end of file diff --git a/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/README.md index 06c4457f58f350311675cb56d2c6c3a80cfbd5e6..a56af2a538dc56470c8139a454cb5d55cad258b4 100644 --- a/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/YOLOV4_eb5f166_for_PyTorch/README.md @@ -41,6 +41,7 @@ YOLO算法作为one-stage目标检测算法最典型的代表,其基于深度 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.6.0;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -53,6 +54,8 @@ YOLO算法作为one-stage目标检测算法最典型的代表,其基于深度 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..eb6094dabdff775c4c652491f0628a2d410db3f2 --- /dev/null +++ b/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,10 @@ +cython +matplotlib +mmpycocotools +six +terminaltables +torchvision==0.17.0 +Pillow==10.2.0 +numpy==1.23.0 +-r requirements/optional.txt +-r requirements/tests.txt \ No newline at end of file diff --git a/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/README.md b/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/README.md index 95577519fc8bc3439782e2d088de15288710532e..f3ce0d45dc6753f753d4921192ad7f7ff0f3d255 100644 --- a/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/detection/YoloV3_ID1790_for_PyTorch/README.md @@ -41,6 +41,7 @@ YOLOv3借鉴了YOLOv1和YOLOv2,在保持YOLO家族速度的优势的同时, | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | torchvision==0.12.0;pillow==9.1.0 | | PyTorch 2.1 | torchvision==0.16.0;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -54,6 +55,7 @@ YOLOv3借鉴了YOLOv1和YOLOv2,在保持YOLO家族速度的优势的同时, pip install -r 1.8_requirements.txt # PyTorch1.8版本 pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/2.2_requirements.txt b/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..cff1fa30d0fa7de7375062141eb7e24ab2d02445 --- /dev/null +++ b/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/2.2_requirements.txt @@ -0,0 +1,16 @@ +colorama==0.4.5 +Cython==0.29.30 +fire==0.4.0 +h5py==3.4.0 +matplotlib==3.5.2 +numba==0.55.2 +numpy==1.21.6 +opencv_python==4.6.0.66 +Pillow==10.2.0 +requests==2.28.1 +scipy==1.7.3 +six==1.16.0 +tensorboardX==2.5.1 +torchvision==0.17.0 +tqdm==4.63.1 +pandas==1.3.5 \ No newline at end of file diff --git a/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/README.md b/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/README.md index f35885ee64bbaa56277adaba393653d63a4da650..3c76ae8f9fb18928b8ab60f08ec591c9c8e54b92 100644 --- a/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/README.md +++ b/PyTorch/built-in/cv/object_tracking/SiamMask_for_Pytorch/README.md @@ -39,6 +39,7 @@ SiamMask模型是一个实时执行视觉目标跟踪和视频目标分割的框 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3 | | PyTorch 1.8 | torchvision==0.9.1 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -52,6 +53,8 @@ SiamMask模型是一个实时执行视觉目标跟踪和视频目标分割的框 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + pip install -r 2.2_requirements.txt # PyTorch2.2版本 + bash make.sh ``` > **说明:** diff --git a/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..a90c65cf2d463e842db093a2c5433c2025297e5a --- /dev/null +++ b/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,2 @@ +pillow==10.2.0 +torchvision==0.17.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/README.md b/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/README.md index 84765cb5d2ea72ce796ce546d2ab1a88ffe95d82..766a348cb27542b3f56fdb21a9b154b8034ba0b0 100644 --- a/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/semantic_segmentation/Attention_R2U_Net_for_PyTorch/README.md @@ -41,6 +41,7 @@ Attention R2U-Net是基于U-Net模型的循环残差卷积神经网络 (RRCNN) | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.6.0;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -53,6 +54,8 @@ Attention R2U-Net是基于U-Net模型的循环残差卷积神经网络 (RRCNN) pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..24e885cbd9989469001eac752f0b827959295f32 --- /dev/null +++ b/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,5 @@ +torchvision==0.17.0 +pillow==10.2.0 +-r requirements/optional.txt +-r requirements/runtime.txt +-r requirements/tests.txt \ No newline at end of file diff --git a/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/README.md b/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/README.md index a31255d1fcb7e88b83b30c9b201d827faf21d072..d3b7cf8fba1c42a3e453189ef05a53776785b27a 100644 --- a/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/semantic_segmentation/BiseNetV1_for_PyTorch/README.md @@ -39,6 +39,7 @@ | :-----------: | :-------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.3.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -52,6 +53,8 @@ pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** > 只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..300cb8baa4d01992ba15d5da13b149fa9172221f --- /dev/null +++ b/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,9 @@ +matplotlib==3.4.1 +pillow==10.2.0 +torchvision==0.17.0 +tensorboardX>1.8 +tqdm==4.60.0 +pycocotools==2.0.2 +scipy==1.7.3 +sympy==1.10.1 +protobuf>=3.8.0 \ No newline at end of file diff --git a/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/README.md b/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/README.md index b33b2499c31336cb3be353bcef45c6a894c9c720..6956ed8f4c2f772bef3f7396142850fa04ddf0f0 100644 --- a/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/README.md +++ b/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/README.md @@ -41,6 +41,7 @@ DeepLabv3+是Google提出的DeepLab系列的第4代语义分割网络,此模 | PyTorch 1.5 | torchvision==0.6.0;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | | PyTorch 1.11 | numpy==1.21.6 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -53,6 +54,8 @@ DeepLabv3+是Google提出的DeepLab系列的第4代语义分割网络,此模 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** > 只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/2.2_requirements.txt b/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..34eaacd56211395461d39aa674fa5f833b5b9a4a --- /dev/null +++ b/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/2.2_requirements.txt @@ -0,0 +1,5 @@ +fastai +ninja +tqdm +torchvision==0.17.0 +Pillow==10.2.0 diff --git a/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/README.md b/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/README.md index 7039ca84dc7ac7d179f347e8e820679fb7490d77..2365e4544d851a9ea392a2b992c82c10c1890528 100644 --- a/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/README.md +++ b/PyTorch/built-in/cv/semantic_segmentation/DynamicUNet_for_Pytorch/README.md @@ -46,6 +46,7 @@ DynamicUNet 模型是一个图像分割任务上的SOTA模型,它赢得了许 | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | torchvision==0.12.0 | | PyTorch 2.1 | torchvision==0.16.0 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -62,6 +63,8 @@ DynamicUNet 模型是一个图像分割任务上的SOTA模型,它赢得了许 pip install -r 1.11_requirements.txt # PyTorch1.11版本 pip install -r 2.1_requirements.txt # PyTorch2.1版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/foundation/MiniGPT-4/2.2_requirements.txt b/PyTorch/built-in/foundation/MiniGPT-4/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..f91c3e62f185cd976e50a8d023438e1f7063cdc6 --- /dev/null +++ b/PyTorch/built-in/foundation/MiniGPT-4/2.2_requirements.txt @@ -0,0 +1,140 @@ +aiofiles==23.1.0 +aiohttp==3.8.4 +aiosignal==1.3.1 +altair==5.0.1 +antlr4-python3-runtime==4.9.2 +anyio==3.7.0 +argon2-cffi==21.3.0 +argon2-cffi-bindings==21.2.0 +async-timeout==4.0.2 +asynctest==0.13.0 +attrs==23.1.0 +backcall==0.2.0 +beautifulsoup4==4.12.2 +bitsandbytes==0.35.0 +bleach==6.0.0 +certifi==2023.5.7 +cffi==1.15.1 +charset-normalizer==3.1.0 +click==8.1.3 +cycler==0.11.0 +debugpy==1.6.7 +decorator==5.1.1 +defusedxml==0.7.1 +entrypoints==0.4 +exceptiongroup==1.1.1 +fastapi==0.97.0 +fastjsonschema==2.17.1 +ffmpy==0.3.0 +filelock==3.12.2 +fonttools==4.38.0 +frozenlist==1.3.3 +fsspec==2023.1.0 +gradio==3.24.1 +gradio_client==0.0.8 +h11==0.14.0 +httpcore==0.17.2 +httpx==0.24.1 +huggingface-hub==0.15.1 +idna==3.4 +importlib-metadata==6.7.0 +importlib-resources==5.12.0 +iopath==0.1.9 +ipykernel==6.16.2 +ipython==7.34.0 +ipython-genutils==0.2.0 +jedi==0.18.2 +Jinja2==3.1.2 +joblib==1.2.0 +jsonschema==4.17.3 +jupyter_client==7.4.9 +jupyter_core==4.12.0 +jupyter-server==1.24.0 +jupyterlab-pygments==0.2.2 +kiwisolver==1.4.4 +linkify-it-py==2.0.2 +markdown-it-py==2.2.0 +MarkupSafe==2.1.3 +matplotlib==3.5.3 +matplotlib-inline==0.1.6 +mdit-py-plugins==0.3.3 +mdurl==0.1.2 +mistune==3.0.1 +multidict==6.0.4 +nbclassic==1.0.0 +nbclient==0.7.4 +nbconvert==7.6.0 +nbformat==5.8.0 +nest-asyncio==1.5.6 +nltk==3.8.1 +notebook==6.5.4 +notebook_shim==0.2.3 +numpy==1.21.6 +omegaconf==2.3.0 +opencv-python-headless==4.7.0.72 +orjson==3.9.1 +packaging==23.1 +pandas==1.3.5 +pandocfilters==1.5.0 +parso==0.8.3 +pexpect==4.8.0 +pickleshare==0.7.5 +Pillow==9.5.0 +pkgutil_resolve_name==1.3.10 +portalocker==2.7.0 +prometheus-client==0.17.0 +prompt-toolkit==3.0.38 +psutil==5.9.5 +ptyprocess==0.7.0 +pycocoevalcap==1.2 +pycocotools==2.0.6 +pycparser==2.21 +pydantic==1.10.9 +pydub==0.25.1 +Pygments==2.15.1 +pyparsing==3.0.9 +pyrsistent==0.19.3 +python-dateutil==2.8.2 +python-multipart==0.0.6 +pytz==2023.3 +PyYAML==6.0 +pyzmq==25.1.0 +regex==2023.6.3 +requests==2.31.0 +scikit-learn==1.0.2 +scipy==1.7.3 +semantic-version==2.10.0 +Send2Trash==1.8.2 +sentence-transformers==2.2.2 +sentencepiece==0.1.99 +setuptools==68.0.0 +six==1.16.0 +sniffio==1.3.0 +soupsieve==2.4.1 +starlette==0.27.0 +tenacity==8.2.2 +terminado==0.17.1 +threadpoolctl==3.1.0 +timm==0.6.13 +tinycss2==1.2.1 +tokenizers==0.13.3 +toolz==0.12.0 +torchaudio==0.11.0 +torchvision==0.17.0 +tornado==6.2 +tqdm==4.65.0 +traitlets==5.9.0 +transformers==4.28.0 +typing_extensions==4.6.3 +uc-micro-py==1.0.2 +umap-learn==0.5.3 +urllib3==2.0.3 +uvicorn==0.22.0 +wcwidth==0.2.6 +webencodings==0.5.1 +websocket-client==1.6.0 +websockets==11.0.3 +wheel==0.40.0 +yarl==1.8.2 +zipp==3.14.0 +webdataset==0.2.48 \ No newline at end of file diff --git a/PyTorch/built-in/foundation/MiniGPT-4/README.md b/PyTorch/built-in/foundation/MiniGPT-4/README.md index cc4bd0512cb1751c5512da23efea1c39f02d52bd..d930ff1f9e57b64baae67d57a37879fec18d6944 100755 --- a/PyTorch/built-in/foundation/MiniGPT-4/README.md +++ b/PyTorch/built-in/foundation/MiniGPT-4/README.md @@ -40,6 +40,7 @@ MiniGPT-4使用一个投影层将来自BLIP-2的冻结视觉编码器与冻结 | 配套 | 版本 | | :--------: | :------------: | | PyTorch | [1.11.0](https://gitee.com/ascend/pytorch/tree/v1.11.0/) | + | PyTorch | [2.2.0](https://gitee.com/ascend/pytorch/tree/v2.2.0/) | - 环境准备指导。 @@ -51,6 +52,7 @@ MiniGPT-4使用一个投影层将来自BLIP-2的冻结视觉编码器与冻结 ``` pip install -r requirements.txt # PyTorch1.11版本 + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` - 替换transformers库中的相关文件。 diff --git a/PyTorch/built-in/nlp/Data2vec_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/nlp/Data2vec_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..6ef53ea70408f33b0c3885738c4881e76faafbe3 --- /dev/null +++ b/PyTorch/built-in/nlp/Data2vec_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,5 @@ +decorator +sympy +attrs +torchvision==0.17.0 +timm diff --git a/PyTorch/built-in/nlp/Data2vec_for_PyTorch/README.md b/PyTorch/built-in/nlp/Data2vec_for_PyTorch/README.md index e0dafdc3452c2e7cd1773270c53dfd3d11fe79ed..72ba9699e698be7861dd525b39e538b7be49f97d 100644 --- a/PyTorch/built-in/nlp/Data2vec_for_PyTorch/README.md +++ b/PyTorch/built-in/nlp/Data2vec_for_PyTorch/README.md @@ -40,6 +40,7 @@ data2vec 是首个适用于多模态的高性能自监督算法。Meta AI 将 da | PyTorch 1.8 | - | | PyTorch 1.11 | - | | PyTorch 2.1 | - | + | PyTorch 2.2 | - | - 环境准备指导。 @@ -51,6 +52,7 @@ data2vec 是首个适用于多模态的高性能自监督算法。Meta AI 将 da pip uninstall fairseq pip install -e ./ pip install -r requirements.txt + pip install -r 2.2_requirements.txt # PyTorch 2.2版本 ``` ## 准备数据集 diff --git a/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..c70e14d46d964f9159e626365eeecdecf095b777 --- /dev/null +++ b/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,4 @@ +torchvision==0.17.0 +kaldiio==2.17.2 +editdistance==0.5.3 +tensorboard==1.15.0 \ No newline at end of file diff --git a/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/README.md b/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/README.md index 01d7112b2e68bf8e4c1c70d0178aeea4e6490caf..a011ae273a04c37f9e900492b0d9dff4e4ba5c2e 100644 --- a/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/README.md +++ b/PyTorch/built-in/nlp/LSTM_ID0468_for_PyTorch/README.md @@ -39,6 +39,7 @@ | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3 | | PyTorch 1.8 | torchvision==0.9.1 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -51,6 +52,8 @@ pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/2.2_requirements.txt b/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..21ab44dc1131ec16c8fad953421243c31295e507 --- /dev/null +++ b/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/2.2_requirements.txt @@ -0,0 +1,4 @@ +torchvision==0.17.0 +decorator +sympy +attrs diff --git a/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/README.md b/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/README.md index c7c35943ac7703c371f006a81f4a7ddb731a2da0..b34f1e8340b372c3c92a8d95ef24b47238616565 100644 --- a/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/README.md +++ b/PyTorch/built-in/nlp/Scaling-nmt_for_Pytorch/README.md @@ -39,6 +39,7 @@ Scaling-NMT是一种用于神经机器翻译(NMT)的模型架构,旨在解 | PyTorch 1.5 | - | | PyTorch 1.8 | torchvision==0.9.1 | | PyTorch 1.11 | - | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 diff --git a/PyTorch/built-in/others/CLIP_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/others/CLIP_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..cd18f0d7fe67e063bf6f4e69286169226d44876d --- /dev/null +++ b/PyTorch/built-in/others/CLIP_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,12 @@ +accelerate +datasets == 2.7.1 +tokenizers +sentencepiece == 0.1.96 +protobuf == 3.14 +wikiextractor +sklearn +torchvision == 0.17.0 +Pillow +decorator +sympy +scipy diff --git a/PyTorch/built-in/others/CLIP_for_PyTorch/README.md b/PyTorch/built-in/others/CLIP_for_PyTorch/README.md index f38f49261898998880e1d56e1af7484249e13d53..b78611a2e283b1b2d6ecaef52a5b554b2e88d720 100644 --- a/PyTorch/built-in/others/CLIP_for_PyTorch/README.md +++ b/PyTorch/built-in/others/CLIP_for_PyTorch/README.md @@ -42,6 +42,7 @@ CLIP (Contrastive Language-Image Pre-Training,以下简称 CLIP) 模型是 Ope | PyTorch 1.5 | - | | PyTorch 1.8 | - | | PyTorch 1.11 | - | + | PyTorch 2.2 | torchvision == 0.17.0 | - 环境准备指导。 @@ -52,6 +53,8 @@ CLIP (Contrastive Language-Image Pre-Training,以下简称 CLIP) 模型是 Ope 在模型源码包根目录下执行命令,安装模型对应PyTorch版本需要的依赖。 ```bash python3 -m pip install -r requirements.txt + + python3 -m pip install -r 2.2_requirements.txt ``` - 安装transformers。 diff --git a/PyTorch/built-in/others/DeCLIP_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/others/DeCLIP_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..b063919feed5b031f3bedb6f1801e209eb481561 --- /dev/null +++ b/PyTorch/built-in/others/DeCLIP_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,13 @@ +torchvision==0.17.0 +Pillow==10.2.0 +timm +ftfy +regex +kestrel +yacs +sklearn +easydict==1.9 +tensorboardX +textaugment +requests +ipdb diff --git a/PyTorch/built-in/others/DeCLIP_for_PyTorch/README.md b/PyTorch/built-in/others/DeCLIP_for_PyTorch/README.md index a57c59b8a19fea1cfbc6a7b5d6f394e569e65118..2f10735373acc14e152318c2575855a0747c339e 100644 --- a/PyTorch/built-in/others/DeCLIP_for_PyTorch/README.md +++ b/PyTorch/built-in/others/DeCLIP_for_PyTorch/README.md @@ -42,6 +42,7 @@ DeCLIP是一种数据高效的CLIP训练方法,通过利用图像-文本对之 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3;pillow==8.4.0 | | PyTorch 1.8 | torchvision==0.9.1;pillow==9.1.0 | + | PyTorch 2.2 | torchvision==0.17.0;pillow==10.2.0 | - 环境准备指导。 @@ -54,6 +55,8 @@ DeCLIP是一种数据高效的CLIP训练方法,通过利用图像-文本对之 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/others/DeepFM_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/others/DeepFM_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..f3ee26730c9b835fec3320e628465e50c334043d --- /dev/null +++ b/PyTorch/built-in/others/DeepFM_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,6 @@ +pandas +sklearn +tqdm +tensorflow +torchvision==0.17.0 +pillow==10.2.0 diff --git a/PyTorch/built-in/others/DeepFM_for_PyTorch/README.md b/PyTorch/built-in/others/DeepFM_for_PyTorch/README.md index b4a6f20452946671d97807934476060dcf3aee14..af174ba3808f9a59fb57d01b3147b342e6cde602 100644 --- a/PyTorch/built-in/others/DeepFM_for_PyTorch/README.md +++ b/PyTorch/built-in/others/DeepFM_for_PyTorch/README.md @@ -40,6 +40,7 @@ DeepFM是一个最大点击率推荐网络。DeepFM结合了基于推荐系统 | :--------: | :----------------------------------------------------------: | | PyTorch 1.5 | torchvision==0.2.2.post3 | | PyTorch 1.8 | torchvision==0.9.1 | + | PyTorch 2.2 | torchvision==0.17.0 | - 环境准备指导。 @@ -52,6 +53,8 @@ DeepFM是一个最大点击率推荐网络。DeepFM结合了基于推荐系统 pip install -r 1.5_requirements.txt # PyTorch1.5版本 pip install -r 1.8_requirements.txt # PyTorch1.8版本 + + pip install -r 2.2_requirements.txt # PyTorch2.2版本 ``` > **说明:** >只需执行一条对应的PyTorch版本依赖安装命令。 diff --git a/PyTorch/built-in/others/GLIP_for_PyTorch/2.2_requirements.txt b/PyTorch/built-in/others/GLIP_for_PyTorch/2.2_requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..0ce4e4cd78fcb6371ea062043d067b325238c8d4 --- /dev/null +++ b/PyTorch/built-in/others/GLIP_for_PyTorch/2.2_requirements.txt @@ -0,0 +1,18 @@ +einops +shapely +timm +yacs +tensorboardX +ftfy +prettytable +pymongo +numpy<=1.23.5 +transformers +torchvision==0.17.0 +opencv-python +pycocotools +sympy +scipy +decorator +attrs +psutil \ No newline at end of file diff --git a/PyTorch/built-in/others/GLIP_for_PyTorch/README.md b/PyTorch/built-in/others/GLIP_for_PyTorch/README.md index a181e0788e34f12344c75bda4ec6d41b4a4e378c..e707d0ab5f620a0754092741431373eed7cbb3d0 100644 --- a/PyTorch/built-in/others/GLIP_for_PyTorch/README.md +++ b/PyTorch/built-in/others/GLIP_for_PyTorch/README.md @@ -36,6 +36,7 @@ GLIP是一种用于视觉定位的语言-图像预训练模型,可以学习对 | Torch_Version | 三方库依赖版本 | |---------------|:----------------------------------------------------:| | PyTorch 1.11 | mmcv-full==1.7.1; torchvision==0.12.0; numpy<=1.23.5 | + | PyTorch 2.2 | mmcv-full==1.7.1; torchvision==0.17.0; numpy<=1.23.5 | - 环境准备指导。 @@ -48,6 +49,7 @@ GLIP是一种用于视觉定位的语言-图像预训练模型,可以学习对 ```bash pip install -r requirements.txt + pip install -r 2.2_requirements.txt # PyTorch2.2版本 python setup.py build develop ``` - 注意 mmcv-full 需要拉取1.x分支的最新代码源码编译,不要使用pip安装方式。(如果环境中有mmcv,请先卸载再编译安装)