Facenet: AttributeError: 'module' object has no attribute 'unpack'

Created on 23 Feb 2017  路  3Comments  路  Source: davidsandberg/facenet

Hi! I'm getting the same error here.

I've already pulled the changes for the compatibility with Tensorflow r1.0. But I'm getting this error:

Traceback (most recent call last): File "facenet_train_classifier.py", line 461, in <module> main(parse_arguments(sys.argv[1:])) File "facenet_train_classifier.py", line 122, in main for filename in tf.unpack(filenames): AttributeError: 'module' object has no attribute 'unpack'

Any ideas to fix this? Thanks!

All 3 comments

tf.pack and tf.unpack are deprecated in favor of tf.stack and tf.unstack.

@stringmoon Should I just change the tf.unpack to unstack then?

If you're still encountering this error please clone the new version of facenet.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaartenBloemen picture MaartenBloemen  路  3Comments

allahbaksh picture allahbaksh  路  3Comments

billtiger picture billtiger  路  3Comments

tonybaigang picture tonybaigang  路  3Comments

haochange picture haochange  路  3Comments