Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: GraphDef cannot be larger than 2GB #9

Open
Lukious opened this issue Sep 10, 2020 · 0 comments
Open

ValueError: GraphDef cannot be larger than 2GB #9

Lukious opened this issue Sep 10, 2020 · 0 comments

Comments

@Lukious
Copy link

Lukious commented Sep 10, 2020

Starting session Traceback (most recent call last): File "main_controller_child_trainer.py", line 358, in <module> tf.app.run() File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "main_controller_child_trainer.py", line 355, in main train() File "main_controller_child_trainer.py", line 246, in train config=config, hooks=hooks, checkpoint_dir=FLAGS.output_dir) as sess: File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\training\monitored_session.py", line 759, in __init__ stop_grace_period_secs=stop_grace_period_secs) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\training\monitored_session.py", line 486, in __init__ h.begin() File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\training\basic_session_run_hooks.py", line 418, in begin self._summary_writer = SummaryWriterCache.get(self._checkpoint_dir) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\summary\writer\writer_cache.py", line 61, in get logdir, graph=ops.get_default_graph()) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\summary\writer\writer.py", line 337, in __init__ super(FileWriter, self).__init__(event_writer, graph, graph_def) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\summary\writer\writer.py", line 80, in __init__ self.add_graph(graph=graph, graph_def=graph_def) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\summary\writer\writer.py", line 190, in add_graph true_graph_def = graph.as_graph_def(add_shapes=True) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\framework\ops.py", line 2773, in as_graph_def result, _ = self._as_graph_def(from_version, add_shapes) File "C:\Users\bm\anaconda3\envs\ENAS_env\lib\site-packages\tensorflow\python\framework\ops.py", line 2733, in _as_graph_def raise ValueError("GraphDef cannot be larger than 2GB.") ValueError: GraphDef cannot be larger than 2GB.

My env keep shows this error even the input data is lesser than 1gb.

Anyone can solve this probelm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant