Code Monkey home page Code Monkey logo

Comments (9)

cckenny avatar cckenny commented on September 13, 2024

Step 0: 9.869 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 1: 2.662 sec
Step 2: 2.699 sec
Step 3: 2.657 sec
Step 4: 2.689 sec
Step 5: 2.695 sec
Step 6: 2.661 sec
Step 7: 2.743 sec
Step 8: 2.775 sec
Step 9: 2.694 sec
Step 10: 2.696 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 11: 2.688 sec
Step 12: 2.844 sec
Step 13: 2.736 sec
Step 14: 2.777 sec
Step 15: 2.744 sec
Step 16: 2.784 sec
Step 17: 2.730 sec
Step 18: 2.717 sec
Step 19: 2.792 sec
Step 20: 2.677 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:1.000

I think we have the same problem

from c3d-tensorflow.

binhhoangtieu avatar binhhoangtieu commented on September 13, 2024

Try to change your batch_size?

from c3d-tensorflow.

cckenny avatar cckenny commented on September 13, 2024

it's 8 at first I changed it to 10 it turns out that the accuracy is still 1.00000
@binhhoangtieu

from c3d-tensorflow.

cckenny avatar cckenny commented on September 13, 2024

DId u solve this by changing batch_size?
@binhhoangtieu

from c3d-tensorflow.

binhhoangtieu avatar binhhoangtieu commented on September 13, 2024

Yes, solved with my problem because my accuracy is changed after each iteration. I'm not sure about your case.

from c3d-tensorflow.

zeynepgokce avatar zeynepgokce commented on September 13, 2024

Hello @cckenny and @binhhoangtieu ,
I get the similar error. Accuracy is always zero.
I changed the batch size as you said , but it is still 0.
I have just changed some parts of my code as following,
Have any suggestion ?


init = tf.global_variables_initializer()
# Create a saver for writing training checkpoints.
saver = tf.train.Saver(varlist1) # Edit : Add ops to save and restore only varibles without out layer using the name "varlist1"
  

# Create a session for running Ops on the Graph.
sess = tf.Session(
                config=tf.ConfigProto(allow_soft_placement=True)
                )
sess.run(init)
if os.path.isfile(model_filename) and use_pretrained_model:
  saver.restore(sess, model_filename) # EDIT
  print("model is restored")

The output :
.
.
.
Training Data Accuracy: 0.00000
Validation Data Accuracy: 0.00000
Step 2241: 7.663 sec
Training Data Accuracy: 0.00000
Validation Data Accuracy: 0.00000
Step 2242: 7.619 sec
Training Data Accuracy: 0.00000
Validation Data Accuracy: 0.00000
Step 2243: 7.686 sec
Training Data Accuracy: 0.00000
Validation Data Accuracy: 0.00000
Step 2244: 8.781 sec
Training Data Accuracy: 0.00000
Validation Data Accuracy: 0.00000

from c3d-tensorflow.

geroge-gao avatar geroge-gao commented on September 13, 2024

@cckenny @binhhoangtieu have you solved the problem? I met the same problem with you.
Step 5000: 5.591 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 5100: 1.235 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 5200: 1.235 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000

from c3d-tensorflow.

binhhoangtieu avatar binhhoangtieu commented on September 13, 2024

@zeynepgokce : Check your input data and pre-trained model restoration

from c3d-tensorflow.

KT27-A avatar KT27-A commented on September 13, 2024

@cckenny @binhhoangtieu have you solved the problem? I met the same problem with you.
Step 5000: 5.591 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 5100: 1.235 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000
Step 5200: 1.235 sec
Training Data Eval:
accuracy: 1.00000
Validation Data Eval:
accuracy: 1.00000

Have you solved this problem? I can't settle this

from c3d-tensorflow.

Related Issues (20)

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.