You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thank you very much for providing such a convenient tool .
I am tring to test the base example according to the README.md by run following scripts:
./my models/lenet5.yaml datasets/mnist.yaml system.checkpoint.load=pretrained eval
However, I got following error report:
Traceback (most recent call last):
File "./my.py", line 13, in <module>
cli.CLI().main()
File "mayo/cli.py", line 300, in main
commands[each]()
File "mayo/cli.py", line 210, in cli_eval
return self._get_session('validate').eval()
File "/home/daisurong/workspace_2021/mayo/mayo/session/base.py", line 50, in wrapped
return func(self, *args, **kwargs)
File "/home/daisurong/workspace_2021/mayo/mayo/session/eval.py", line 19, in eval
self.load_checkpoint(key)
File "/home/daisurong/workspace_2021/mayo/mayo/session/base.py", line 50, in wrapped
return func(self, *args, **kwargs)
File "/home/daisurong/workspace_2021/mayo/mayo/session/base.py", line 224, in load_checkpoint
restore_vars = self.checkpoint.load(name)
File "/home/daisurong/workspace_2021/mayo/mayo/session/checkpoint.py", line 102, in load
reader = tf.train.NewCheckpointReader(path)
File "/home/daisurong/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 636, in NewCheckpointReader
return CheckpointReader(compat.as_bytes(filepattern))
File "/home/daisurong/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 648, in __init__
this = _pywrap_tensorflow_internal.new_CheckpointReader(filename)
DataLossError: not an sstable (bad magic number)
> /home/daisurong/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py(648)__init__()
647 def __init__(self, filename):
--> 648 this = _pywrap_tensorflow_internal.new_CheckpointReader(filename)
649 try:
ipdb> i
*** NameError: name 'i' is not defined
ipdb> s
Then, the program exited itself.
Could you please give me some tips on how to make it work correctly.
Thank you so much!
The text was updated successfully, but these errors were encountered:
First thank you very much for providing such a convenient tool .
I am tring to test the base example according to the README.md by run following scripts:
./my models/lenet5.yaml datasets/mnist.yaml system.checkpoint.load=pretrained eval
However, I got following error report:
Then, the program exited itself.
Could you please give me some tips on how to make it work correctly.
Thank you so much!
The text was updated successfully, but these errors were encountered: