GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
简要说明:修改code_dir , 执行train-eval.sh 即可执行 #!/bin/bashexport CUDA_VISIBLE_DEVICES=0#如果运行的话,更改code_dir目录CODE_DIR="/home/work/work/modifyAI/textCNN"MODEL_DIR=$CODE_DIR/model TRAIN_DATA_DIR=$CODE_DIR/data_set nohup python3 $CODE_DIR/model.py \--is_train=true \--nu...
defmake_dataset(data_path,alphabet,num_class,num_char):# 获取数据集所在文件夹的所有文件名 img_names=os.listdir(data_path)samples=[]forimg_nameinimg_names:# 拼接每个图像数据集的路径 img_path=os.path.join(data_path,img_name)# 找出该图像的label target_str=img_name.replace("\\",'/').s...
在这节课中,我们将建立一些函数,让我们能够得到训练集中每个样本的预测张量。然后,我们会看到如何使用这个预测张量,以及每个样本的标签,来创建一个混淆矩阵。这个混淆矩阵将允许我们查看我们的网络中哪些类别相互混淆。 准备数据 建立模型 训练模型 分析模型的结果 ...
dependabot/github_actions/pypa/cibuildwheel-2.23.0 dependabot/github_actions/pypa/cibuildwheel-2.21.3 dependabot/github_actions/pypa/cibuildwheel-2.18.1 azure-pipelines restyled/pull-2290 restyled/pull-2149 restyled/pull-2048 restyled/pull-1973 ...
codeformat.sh ruapu cpu isa detection (#5341) 1年前 package.sh fix typo 5年前 pyproject.toml Support using system CMake & Ninja (#5899) 3个月前 setup.py ci release python add armv7l wheel, use native linux-aarch64 host, fix… ...
这一篇将会介绍卷积神经网络 (CNN),CNN 模型非常适合用来进行图片相关的学习,例如图片分类和验证码识别,也可以配合其他模型实现 OCR。 使用Python 处理图片 在具体介绍 CNN 之前,我们先来看看怎样使用 Python 处理图片。Python 处理图片最主要使用的类库是 Pillow (Python2 PIL 的 fork),使用以下命令即可安装: ...
Software code languages, tools, and services used Python 3, PyTorch Compilation requirements, operating environments & dependencies Tested on Linux and Mac OS, Python ≥ 3.6, PyTorch ≥ 0.4 If available Link to developer documentation/manual https://github.com/ai4iacts/hexagdly Support email for ...
项目地址:github.com/facebookrese MaskRCNN-Benchmark 目标检测示例 Detectron 和 mmdetection Detectron 是Facebook AI Research 实现顶尖目标检测算法(包括 Mask R-CNN)的软件系统。该系统是基于 Python 和深度学习框架 Caffe 2 而构建的。Detectron 目前包含以下目标检测算法的实现:Mask R-CNN 、RetinaNet、Faster ...