question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about training and testing

See original GitHub issue

Hi Zimao, I am learning about your work. When I run python multi_agent.py, the program is going to add the epochs very quickly and keep printing “Testing model restored.” instead of entering the training stage and exploiting the GPU. It seems that the overloaded tf.train is not used. Should I change the code of compute_gradients in a3c.py? I am a bit confused now. Is there something wrong with my understanding of your code?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
InanisVcommented, Sep 10, 2020

Sorry, It’s my mistake. The log file generated by bb.py and dp.py is different. I misunderstood the meaning of the variable SIM_DP and changed it into sim_bb. When I checked the code in plot_results.py, I found there is a separate branch that is used to dealing with log files made by dp.py, where bit_rate.append(VIDEO_BIT_RATE[int(parse[6])]) appends the bitrate correctly. Finally, I successfully plotting the result. Bandwidth Thank you very much! I am appreciated for your reply.

1reaction
hongzimaocommented, Sep 4, 2020

The code periodically tests the current model with a hold-up testing dataset. https://github.com/hongzimao/pensieve/blob/master/sim/multi_agent.py#L192 the first epoch also enters the testing loop. You can comment this out if you are eager to go in the training loop. GPU is not really required for this code I think.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 50 Software Testing Interview Questions To Know In 2023
Software Testing Interview Questions: What are the phases involved in Software Testing Life Cycle? What are the different methods of testing?
Read more >
50 Software Testing Interview Questions (With Answers)
Review 50 software testing interview questions and explore 25 sample answers to help you prepare effectively for job interviews for testing ...
Read more >
Guidelines for Pre- and Post-Testing - Assessment in Action
The pre-test is a set of questions given to partici- pants before the training begins in order to deter- mine their knowledge level...
Read more >
Top 45 Machine Learning Interview Questions & Answers 2023
What is 'training Set' and 'test Set' in a Machine Learning Model? How Much Data Will You Allocate for Your Training, Validation, and...
Read more >
Questions to ask a training company before joining QA ...
Below are few questions to ask a training company before joining the training. 1. Who is Quality Assurance Tester?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found