Comments (6)
Seems to work perfectly!!
Thank you so much!
from cnos.
You can simply change this line to model: cnos_fast
. Let me know if it is not working.
from cnos.
Thanks for your fast answer!
i have already tried it and did not work
from cnos.
Can you provide more details?
Since, if you change the line above, this line will read the FastSAM models for inference_custom.py
.
from cnos.
The error that i obtain is this:
Traceback (most recent call last):
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/gdecelis/Desktop/cnos/src/scripts/inference_custom.py", line 166, in
run_inference(args.template_dir, args.rgb_path, num_max_dets=args.num_max_dets, conf_threshold=args.confg_threshold, stability_score_thresh=args.stability_score_thresh)
File "/home/gdecelis/Desktop/cnos/src/scripts/inference_custom.py", line 77, in run_inference
cfg.model.segmentor_model.stability_score_thresh = stability_score_thresh
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 337, in setattr
raise e
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 334, in setattr
self.__set_impl(key, value)
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 318, in __set_impl
self._set_item_impl(key, value)
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/basecontainer.py", line 549, in _set_item_impl
self._validate_set(key, value)
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 180, in _validate_set
target = self._get_node(key) if key is not None else self
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 475, in _get_node
self._validate_get(key)
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 164, in _validate_get
self._format_and_raise(
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/gdecelis/miniconda3/envs/cnos/lib/python3.9/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
omegaconf.errors.ConfigAttributeError: Key 'stability_score_thresh' is not in struct
full_key: model.segmentor_model.stability_score_thresh
object_type=dict
I believe there is something wrong with the "stability_score_thresh" input
from cnos.
I just fixed the issue. You can git pull
and retry it.
from cnos.
Related Issues (20)
- Any standard for scaling CAD models? HOT 2
- Problems with detecting multi-color objects (?) HOT 1
- How to use this project? What are parameters of train ? HOT 2
- precomputed results on YCBV HOT 2
- Pixel to point correspondances with renderer HOT 1
- Installation of ultralytics HOT 1
- Segmentation evaluation using bop_toolkit HOT 2
- CAD-object free results HOT 3
- Why is the paper's reported result different from that in the BOP leaderboard? HOT 3
- size mismatch for pos_embed HOT 3
- Poor performance in a object with two colors.
- Multi object segmentation support HOT 2
- release pre-computed Linemod and YCBV results HOT 1
- Why are the results in the paper different from those in the baseline of the BOP? HOT 1
- pre-computed segmentation is not complete on the YCBV dataset HOT 2
- Running custom inference on multiple GPUs HOT 2
- Rendering templates HOT 1
- DINOv2 for image feature extraction HOT 2
- Limited performance on Custom Datasets HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnos.