Traceback (most recent call last):


 "/usr/local/bin/hypergan", line 8, in <module>

cli.CLI()


 "/usr/local/lib/python3.5/site-packages/hypergan/cli.py", line 22, in __init__

self.run()


 "/usr/local/lib/python3.5/site-packages/hypergan/cli.py", line 259, in run

crop=crop


 "/usr/local/lib/python3.5/site-packages/hypergan/cli.py", line 191, in setup_input_graph

channels=channels)


 "/usr/local/lib/python3.5/site-packages/hypergan/cli.py", line 220, in setup_input_loader

height=height)


 "/usr/local/lib/python3.5/site-packages/hypergan/loaders/image_loader.py", line 55, in labelled_image_tensors_from_directory

height, width, dynamic_shape=True)


 "/usr/local/lib/python3.5/site-packages/hypergan/loaders/resize_image_patch.py", line 163, in resize_image_with_crop_or_pad

original_height, original_width, _ =
_ImageDimensions(image, dynamic_shape=dynamic_shape)


 "/usr/local/lib/python3.5/site-packages/hypergan/loaders/resize_image_patch.py", line 222, in _ImageDimensions

return array_ops.unpack(array_ops.shape(images))
AttributeError: module 'tensorflow.python.ops.array_ops' has no attribute 'unpack'

Traceback (most recent call last):


 "run_seq2seq.py", line 421, in <module>

main()


 "run_seq2seq.py", line 417, in main

train(args, training_features, model, tokenizer)


 "run_seq2seq.py", line 107, in train

model, optimizer = prepare_for_training(args, model, checkpoint_state_dict, amp=amp)


 "run_seq2seq.py", line 58, in prepare_for_training

model, optimizer = amp.initialize(model, optimizer, opt_level=args.fp16_opt_level) # old: initialize
AttributeError: module 'apex.amp' has no attribute 'initialize'
