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.

export_dir in run_pretraining.py is necessary?

See original GitHub issue

export_dir is just made at L545 in run_pretraining.py, but nothing else happens.

tf.gfile.MakeDirs(FLAGS.export_dir)

In the current script, unless --export_dir option is specified, the script dies in the evaluation step. export_dir is necessary?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Danny-Googlecommented, Dec 19, 2019

Good catch! Have submitted a change. Should be out soon. Thanks a lot!

0reactions
lanzhzhcommented, Dec 20, 2019

fixed. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I need __init__.py at every level? - Stack Overflow
Yes, this file is required if you want directory to be treated as a module. The __init__.py files are required to make Python...
Read more >
is __init__py file needed ? - Python Tutorial 29 - YouTube
is __init__py file needed ?__init__. py file is not needed from python version 3.3 and above !!All folders from python version 3.3 and...
Read more >
Understanding Python imports, __init__.py and pythonpath
What if I only want to import certain, but not all, items from the imported module? In our example, we only have a...
Read more >
6. Modules — Python 3.11.1 documentation
Modules can import other modules. It is customary but not required to place all import statements at the beginning of a module (or...
Read more >
Usage of __main__.py in Python - GeeksforGeeks
Actually, when we try to import a module to Python by default the __init__.py is accessed by Python to look for the necessary...
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