Coder Social home page Coder Social logo

Comments (11)

chencodeX avatar chencodeX commented on July 20, 2024

Do you mean the result of that network?
I used tensoflow to create a BCNN and then used pytorch to create many other net.

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

Well, yes. I am now running BCNN this, but that Baidu dog data ran out of the results are not very high So would like to ask you under the Baidu dog data test set on the results. . Yeah do a comparison.
And when I running the bcnn_finetuning_predict.py , it will appear the following error, I don't know why this happen?
2017-08-14 15:37:29.216704: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key conv1_1/b not found in checkpoint 2017-08-14 15:37:29.216704: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key conv4_1/W not found in checkpoint 2017-08-14 15:37:29.216704: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key conv1_2/b not found in checkpoint 2017-08-14 15:37:29.217077: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key conv3_3/b not found in checkpoint
I look forward to your reply.
Thanks!

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

I found that loading model.ckpt file, even the results did not affect. Because I deleted the following few procedures, ran out of the forecast value predict_dog.txt file results are the same.
saver = tf.train.Saver() checkpoint_dir = '/home/meteo/zihao.chen/fine-grained-classifi/model8' ckpt = tf.train.get_checkpoint_state(checkpoint_dir) if ckpt and ckpt.model_checkpoint_path: saver.restore(sess, ckpt.model_checkpoint_path)
I look forward to your reply.
Thank you very much.

from bilinear_cnn_dog_classifi.

chencodeX avatar chencodeX commented on July 20, 2024

When the model predicts, the model will be loaded before the model is loaded.
You do not have my model, so you did not actually work for this loader.
So in fact it is using the default parameters to predict, so the results will remain the same. And the prediction is very poor.
My best result is 75% accuracy.

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

Ok. I have understood it. Although some problems encountered, but also resolved. And the model I also succeeded. But I also found that the correct rate is not very high I still need more time to debug the training. Thank you for your help. Thanks!

from bilinear_cnn_dog_classifi.

chencodeX avatar chencodeX commented on July 20, 2024

If you want to optimize this BCNN, I can give you some advice.
Bilinear networks have two structures,Symmetrical and asymmetric,Symmetry is the same as two subnetworks,Asymmetry is the difference between the two sub-networks,Here is the realization of the symmetry of the two vgg.

from bilinear_cnn_dog_classifi.

chencodeX avatar chencodeX commented on July 20, 2024

Vggnet is a very old network, you can change to densenet or resnet, inception and so on.Can also be asymmetric combination with each other。

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

Thanks for your advice. Although vggnet is very old network. But the github project to achieve the same category with Baidu data set on the correct rate after optimization in 86.4%, but learn from the training of Baidu dog data, the correct rate is very low. There may be a result of a different parameter or data set. I will adopt your advice, with asymmetric two subnetworks as well as using a relatively new.
Thanks again!

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

Here is the github project https://github.com/abhaydoke09/Bilinear-CNN-TensorFlow. I believe you have known. Thanks!

from bilinear_cnn_dog_classifi.

chencodeX avatar chencodeX commented on July 20, 2024

good luck!
If you have a better result, please tell me.

from bilinear_cnn_dog_classifi.

Hedlen avatar Hedlen commented on July 20, 2024

OK. Thanks!

from bilinear_cnn_dog_classifi.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.