image_class
image_class copied to clipboard
基于keras集成多种图像分类模型: VGG16、VGG19、InceptionV3、Xception、MobileNet、AlexNet、LeNet、ZF_Net、ResNet18、ResNet34、ResNet50、ResNet_101、ResNet_152、DenseNet
VGG16
At first , thank you for providing a complete code. When i use the VGG16 model,I got this result I think it might be wrong. But why? 90/90 [======] -...
Bumps [tensorflow-gpu](https://github.com/tensorflow/tensorflow) from 1.4 to 2.7.2. Release notes Sourced from tensorflow-gpu's releases. TensorFlow 2.7.2 Release 2.7.2 This releases introduces several vulnerability fixes: Fixes a code injection in saved_model_cli (CVE-2022-29216) Fixes...
测试结果明显不对,有解决掉的吗?过拟合太厉害了
config文件里面,我设置了参数batch_size = 32,normal_size = 224,然后使用VGG16之后,显存直接溢出了。训练集共3400多张图片,按说不至于吧。 我尝试了使用CPU + 内存运行,我显存8G,内存32G,想看下实际模型占用需要多少内存,结果一个batch之后,内存占用竟然达到31.1G。全部加载完图片大概是10G内存占用,也就是说中间21.1G是模型的。 我想确认下,请问up你有遇到过这个情况吗?或者有比较好的解释和解决方案吗?
Why not identify? detect.py Which is it? 为什么没有识别呢? detect.py 是哪个?
训练时,好像只训练了第一类的图片,测试两类的准确度结果如下   是数据集制作的不正确吗?
训练后,测试分类准确度,一类准确度为100%,其余类准确度为0%,数据集类别均衡,请问是什么原因? 训练后,val_acc也只有0.25左右
您好,模型的编译阶段代码:model.compile(loss="categorical_crossentropy", optimizer=adam, metrics=["accuracy"]) 。 损失函数选取了"categorical_crossentropy",而评价函数选取了"accuracy",个人查看了一下keras中文文档,觉得accuracy处也应该选取“categorical_accuracy''。  因为,文章中用了与"categorical_crossentropy"配合使用的“to_categorical''函数,将每个类别对应的真值label转化成了如上图所示 :其中向量只有一个索引为1,其余索引为0,对应一个类别。而网络预测结果最后以softmax作为输出。所以我认为应该用“categorical_accuracy'',请问您是怎么考虑的关于“accuracy‘’,现在keras中文文档没有它的官方说明......也是比较神奇
训练时,报下面的错误,请问怎么解决? Traceback (most recent call last): File "train.py", line 174, in main() File "train.py", line 170, in main train.start_train() File "train.py", line 148, in start_train X_train, X_test, y_train, y_test=self.load_data() File...