capsule-networks icon indicating copy to clipboard operation
capsule-networks copied to clipboard

Capsnet() error

Open bruzat opened this issue 6 years ago • 0 comments

Hi,

Thank you for your job.

I would use it, when a try to initialise capsNet() i found this error. Can you help me?

capsNet = CapsNet(is_training=cfg.is_training)

UnrecognizedFlagErrorTraceback (most recent call last)
<ipython-input-4-894105a67f23> in <module>()
----> 1 capsNet = CapsNet(is_training=cfg.is_training)

/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/flags.pyc in __getattr__(self, name)
     82     # a flag.
     83     if not wrapped.is_parsed():
---> 84       wrapped(_sys.argv)
     85     return wrapped.__getattr__(name)
     86 

/usr/local/lib/python2.7/dist-packages/absl/flags/_flagvalues.pyc in __call__(self, argv, known_only)
    630       suggestions = _helpers.get_flag_suggestions(name, list(self))
    631       raise _exceptions.UnrecognizedFlagError(
--> 632           name, value, suggestions=suggestions)
    633 
    634     self.mark_as_parsed()

UnrecognizedFlagError: Unknown command line flag 'f'

Thank you

bruzat avatar Dec 27 '18 12:12 bruzat