-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get error when doing 7th left-click for foreground annotation #84
Comments
Reference: hkchengrex/XMem#104 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "/home/tianyaozhang/Cutie/gui/gui.py", line 451, in on_mouse_press
self.click_fn(action, ex, ey)
File "/home/tianyaozhang/Cutie/gui/main_controller.py", line 170, in click_fn
self.interaction.push_point(x, y, is_neg=(action == 'right'))
File "/home/tianyaozhang/Cutie/gui/interaction.py", line 83, in push_point
self.obj_mask = self.controller.interact(self.image.unsqueeze(0),
File "/home/tianyaozhang/Cutie/gui/click_controller.py", line 50, in interact
self.controller.add_click(x, y, is_positive, prev_mask=prev_mask)
File "/home/tianyaozhang/Cutie/gui/ritm/controller.py", line 42, in add_click
pred = self.predictor.get_prediction(self.clicker, prev_mask=prev_mask)
File "/home/tianyaozhang/Cutie/gui/ritm/inference/predictors/base.py", line 66, in get_prediction
pred_logits = self._get_prediction(image_nd, clicks_lists, is_image_changed)
File "/home/tianyaozhang/Cutie/gui/ritm/inference/predictors/brs.py", line 214, in _get_prediction
opt_result = fmin_l_bfgs_b(func=self.opt_functor,
File "/home/tianyaozhang/anaconda3/envs/seg/lib/python3.8/site-packages/scipy/optimize/_lbfgsb_py.py", line 197, in fmin_l_bfgs_b
res = _minimize_lbfgsb(fun, x0, args=args, jac=jac, bounds=bounds,
File "/home/tianyaozhang/anaconda3/envs/seg/lib/python3.8/site-packages/scipy/optimize/_lbfgsb_py.py", line 350, in _minimize_lbfgsb
_lbfgsb.setulb(m, x, low_bnd, upper_bnd, nbd, f, g, factr,
ValueError: failed in converting 7th argument `g' of _lbfgsb.setulb to C/Fortran array
The text was updated successfully, but these errors were encountered: