Git Product home page Git Product logo

Comments (8)

ningscapr avatar ningscapr commented on July 19, 2024 1

I have solved this. I changed with tf.Session() as session in elg_train.py to session=tf.Session() and fixed this error.

from gazeml.

swook avatar swook commented on July 19, 2024

Hi Yang. The training code allows for resumption of training, and so won't continue training if a model has exceeded (or matched) the number of steps expected based on what's specified at https://github.com/swook/GazeML/blob/master/src/elg_train.py#L101 and the current size of the training set. As the mentioned model was trained for a sufficient no. of steps it therefore does not continue and simply exits.

from gazeml.

ningscapr avatar ningscapr commented on July 19, 2024

@swook Hi, I am tring to train from the scratch, and i am pretty sure it not exceeds the expected steps, but i am still getting the same error. How could i slove it?
If i want to fine tune using your pre-trained model, how could i do it? Should the input image size and batch size compatiable with your original pre-trained model?
Thanks in advance.

from gazeml.

keishatsai avatar keishatsai commented on July 19, 2024

Hi @ningscapr ,
Could you share the line of code you edited? I tried to edited the code, but still get the same problem.
Thanks

from gazeml.

ningscapr avatar ningscapr commented on July 19, 2024

@keishatsai
In elg_train.py I changed

with tf.Session(config=tf.ConfigProto(gpu_options=gpu_options)) as session:

to session=tf.Session(config=tf.ConfigProto(gpu_options=gpu_options)), then i solved the error.
My error is kind of like this:

2019-01-17 14:11:57.398307: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398371: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398380: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398386: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
2019-01-17 14:11:57.398390: W tensorflow/core/kernels/queue_base.cc:277]_0_UnityEyes/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed

from gazeml.

keishatsai avatar keishatsai commented on July 19, 2024

@ningscapr
Thanks for the help.
By the way, have you eventually managed to fine-tune the model? And how did you achieve that?
I also wonder to use some of my own data to fine tune, but don't know what kind of annotation do I need for training.

from gazeml.

ningscapr avatar ningscapr commented on July 19, 2024

@keishatsai It seems you can't use original mdoel to finetune, you have to train your own data from scratch.

from gazeml.

keishatsai avatar keishatsai commented on July 19, 2024

@ningscapr ,
Hmm.....could you explain why do you think that I have to do it from scratch?
Thank you.

from gazeml.

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.