Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

have a mistake #71

Open
lbh1974988541 opened this issue Aug 5, 2022 · 0 comments
Open

have a mistake #71

lbh1974988541 opened this issue Aug 5, 2022 · 0 comments

Comments

@lbh1974988541
Copy link

File "eval.py", line 147, in
main()
File "eval.py", line 74, in main
'segmentation_class_value', None), fast_reconstruction=args.fast_reconstruction, validation=True)
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/framework.py", line 72, in init
augPt2 = augmenetation_pts(point2)
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/framework.py", line 68, in augmenetation_pts
return tf.cond(tflearn.get_training_mode(), lambda: aug(incoming), lambda: incoming)
File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1392, in cond_for_tf_v2
return cond(pred, true_fn=true_fn, false_fn=false_fn, strict=True, name=name)
File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1227, in cond
orig_res_t, res_t = context_t.BuildCondBranch(true_fn)
File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1064, in BuildCondBranch
original_result = fn()
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/framework.py", line 68, in
return tf.cond(tflearn.get_training_mode(), lambda: aug(incoming), lambda: incoming)
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/framework.py", line 64, in aug
augFlow, incoming), tf.float32)
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/transform.py", line 87, in warp_points
moving_pts = meshgrids_like(flow_fields, flatten=False) + flow_fields
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/transform.py", line 77, in meshgrids_like
return meshgrids(tf.shape(tensor), flatten, name)
File "/2T/lbh/Recursive-Cascaded-Networks-master/network/transform.py", line 61, in meshgrids
with tf.name_scope(name,"meshgrid",[shape]):
TypeError: init() takes 2 positional arguments but 4 were given

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

No branches or pull requests

1 participant