davisvideochallenge / davis-matlab Goto Github PK
View Code? Open in Web Editor NEWA Benchmark Dataset and Evaluation Methodology for Video Object Segmentation
Home Page: https://davischallenge.org
License: MIT License
A Benchmark Dataset and Evaluation Methodology for Video Object Segmentation
Home Page: https://davischallenge.org
License: MIT License
In line 33:
eval = eval_result(result_id, {'F','J'}, gt_set);
Variable "result_id" does not exist. Rename to "results_id"
Hi, In the Davis 2017 dataset, some different categories have the same label color, for example, the label color of bear is the same as that of the bicycle. But segmentation requires different classes with different colors, so if so, what should I do with tagging Davis 2017 data sets?
Thank you!
Hello, thank you for sharing your code.But I have a question about the official code "jaccard_region.m" file and the "f_boundary.m" file.But I don't know what the input parameters of the "f_boundary " function of the'jaccard_region.m'file and 'jaccard_region' function of the 'f_boundary.m' file should be? Thank you!
Hi,
I just ran the global_table.m script and got the following table
mcg sf-lab sf-motnlc cvos trc msg key sal fst tsp sea hvs jmp fcp bvs ofl
J mean 0.736 0.176 0.540 0.701 0.535 0.520 0.550 0.617 0.447 0.586 0.383 0.591 0.629 0.632 0.662 0.709 0.732
J recall 0.908 0.077 0.681 0.846 0.608 0.605 0.649 0.724 0.444 0.654 0.447 0.656 0.753 0.737 0.820 0.827 0.830
J decay 0.034 -0.023 0.064 0.059 0.142 0.028 0.030 0.031 0.094 0.073 0.388 0.349 0.171 0.358 0.065 0.241 0.202
F mean 0.672 0.221 0.446 0.640 0.518 0.502 0.536 0.554 0.409 0.554 0.379 0.568 0.608 0.623 0.583 0.701 0.709
F recall 0.791 0.069 0.423 0.750 0.613 0.575 0.622 0.640 0.338 0.620 0.395 0.623 0.780 0.732 0.676 0.837 0.831
F decay 0.063 -0.016 0.064 0.067 0.151 0.024 0.061 0.060 0.091 0.089 0.409 0.336 0.186 0.365 0.072 0.251 0.219
T (GT 0.098) 0.625 0.735 0.744 0.321 0.250 0.305 0.231 0.160 0.578 0.236 0.279 0.130 0.265 0.119 0.278 0.299 0.224
It is not identical to the values in the paper, e.g. mcg J mean is 0.736 when I run it and in the paper it is 0.724.
Why is there a difference?
Also I got different results with the python version as well, I might add more details for that later.
edit: sorry for the bad layout, I'm trying to fix it
In line 24:
res_dir = fullfile(db_results_dir, result_id);
db_results_dir is a private function in db_util and therefore not accessible from the helpers folder
Hi Guys,
In order to get compiled on Windows using Visual Studio 2015 for the logical keyword "or" (C++11 feature), a header file iso646.h
should be included in the cpp files in folder third-party/polycont/matlab/private
. Would you please consider to add the following code in the cpp files in the above folder:
#ifdef _MSC_VER
#include <iso646.h>
#endif
This will fix the compiling error as follows (copied here in case other guys would see this error):
polycont\cpp/in_out_sort.hpp(55): error C2146: syntax error: missing ')' before identifier 'or'
polycont\cpp/in_out_sort.hpp(55): error C2065: 'or': undeclared identifier
polycont\cpp/in_out_sort.hpp(55): error C2146: syntax error: missing ';' before identifier 'p'
polycont\cpp/in_out_sort.hpp(55): error C2059: syntax error: ')'
polycont\cpp/in_out_sort.hpp(56): error C2146: syntax error: missing ';' before identifier 'p'
Hi Guys,
Is it possible to rename the folder name "aux" to another name instead? It causes some problem on Windows OS during git operation. Thanks a lot!
There is similar problem found in other repo, see here for an example: https://github.com/swcarpentry/DEPRECATED-bc/pull/464/files
HI
I am tring to test but have some issue below.
MEX가 성공적으로 완료되었습니다.
'Microsoft Visual C++ 2013 Professional'(으)로 빌드됩니다.
다음 사용 중 오류가 발생함: mex
mask2poly_mex.cpp
polycont\cpp/simplify.hpp(31) : warning C4244: 'argument' : conversion from 'ClipperLib::cInt' to 'const double', possible loss of data
polycont\cpp/simplify.hpp(32) : warning C4244: 'argument' : conversion from 'ClipperLib::cInt' to 'const double', possible loss of data
polycont\cpp/simplify.hpp(50) : warning C4244: 'argument' : conversion from 'double' to 'ClipperLib::cInt', possible loss of data
polycont\cpp/in_out_sort.hpp(55) : error C2146: syntax error : missing ')' before identifier 'or'
polycont\cpp/in_out_sort.hpp(55) : error C2065: 'or' : undeclared identifier
polycont\cpp/in_out_sort.hpp(55) : error C2146: syntax error : missing ';' before identifier 'p'
polycont\cpp/in_out_sort.hpp(55) : error C2059: syntax error : ')'
polycont\cpp/in_out_sort.hpp(56) : error C2146: syntax error : missing ';' before identifier 'p'
polycont\cpp/in_out_sort.hpp(56) : warning C4553: '==' : operator has no effect; did you intend '='?
polycont\cpp/in_out_sort.hpp(59) : error C2146: syntax error : missing ')' before identifier 'or'
polycont\cpp/in_out_sort.hpp(59) : error C2059: syntax error : ')'
polycont\cpp/in_out_sort.hpp(69) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
polycont\cpp/in_out_sort.hpp(73) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
polycont\cpp/in_out_sort.hpp(83) : warning C4018: '<' : signed/unsigned mismatch
polycont\cpp/in_out_sort.hpp(117) : error C2065: 'not' : undeclared identifier
polycont\cpp/in_out_sort.hpp(117) : error C2146: syntax error : missing ')' before identifier 'children_in_it'
polycont\cpp/in_out_sort.hpp(117) : error C2059: syntax error : ')'
polycont\cpp/in_out_sort.hpp(121) : error C2143: syntax error : missing '}' before ';'
polycont\cpp/in_out_sort.hpp(121) : error C2064: term does not evaluate to a function taking 1 arguments
polycont\cpp/in_out_sort.hpp(128) : error C2181: illegal else without matching if
polycont\cpp/in_out_sort.hpp(142) : error C2065: 'MatrixType' : undeclared identifier
polycont\cpp/in_out_sort.hpp(142) : error C2923: 'std::vector' : 'MatrixType' is not a valid template type argument for parameter '_Ty'
polycont\cpp/in_out_sort.hpp(144) : error C2065: 'cont_inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(144) : error C2146: syntax error : missing ';' before identifier 'inc'
polycont\cpp/in_out_sort.hpp(144) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(147) : error C2662: 'bool std::vector<_Ty,_Alloc>::empty(void) throw() const' : cannot convert 'this' pointer
from 'const std::vector' to 'const std::vector<_Ty,_Alloc> &'
Reason: cannot convert from 'const std::vector' to 'const std::vector<_Ty,_Alloc>'
Conversion requires a second user-defined-conversion operator or constructor
polycont\cpp/in_out_sort.hpp(151) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(151) : error C2228: left of '.all_parents' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(151) : error C2228: left of '.push_back' must have class/struct/union
polycont\cpp/in_out_sort.hpp(152) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(152) : error C2228: left of '.all_children' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(152) : error C2228: left of '.push_back' must have class/struct/union
polycont\cpp/in_out_sort.hpp(155) : error C2662:
'_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type
std::vector<_Ty,_Alloc>::size(void) throw() const' : cannot convert 'this' pointer from 'const std::vector' to 'const
std::vector<_Ty,_Alloc> &'
Reason: cannot convert from 'const std::vector' to 'const std::vector<_Ty,_Alloc>'
Conversion requires a second user-defined-conversion operator or constructor
polycont\cpp/in_out_sort.hpp(156) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(156) : error C3861: 'add_one_inout': identifier not found
polycont\cpp/in_out_sort.hpp(159) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(159) : error C3861: 'flatten_hierarchy': identifier not found
polycont\cpp/in_out_sort.hpp(162) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(162) : error C2228: left of '.all_parents' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(162) : error C2228: left of '.erase' must have class/struct/union
polycont\cpp/in_out_sort.hpp(162) : error C2228: left of '.begin' must have class/struct/union
polycont\cpp/in_out_sort.hpp(163) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(163) : error C2228: left of '.all_children' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(163) : error C2228: left of '.erase' must have class/struct/union
polycont\cpp/in_out_sort.hpp(163) : error C2228: left of '.begin' must have class/struct/union
polycont\cpp/in_out_sort.hpp(182) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(182) : error C2228: left of '.all_parents' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(182) : error C2228: left of '.size' must have class/struct/union
polycont\cpp/in_out_sort.hpp(183) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(183) : error C2228: left of '.all_parents' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(183) : error C2228: left of '.size' must have class/struct/union
polycont\cpp/in_out_sort.hpp(184) : error C2065: 'inc' : undeclared identifier
polycont\cpp/in_out_sort.hpp(184) : error C2228: left of '.all_parents' must have class/struct/union
type is 'unknown-type'
polycont\cpp/in_out_sort.hpp(189) : error C2059: syntax error : '}'
polycont\cpp/in_out_sort.hpp(189) : error C2143: syntax error : missing ';' before '}'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(18) : error C2143: syntax error : missing ';' before '{'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(18) : error C2447: '{' : missing function header (old-style formal
list?)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(127) : error C2039: 'hash_compare' : is not a member of 'stdext'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(127) : error C2873: 'hash_compare' : symbol cannot be used in a
using-declaration
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(128) : error C2039: 'hash_value' : is not a member of 'stdext'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xhash(128) : error C2873: 'hash_value' : symbol cannot be used in a
using-declaration
polycont\cpp/lines2jordan.hpp(48) : warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data
polycont\cpp/lines2jordan.hpp(50) : warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data
polycont\cpp/lines2jordan.hpp(142) : warning C4267: 'argument' : conversion from 'size_t' to 'const int', possible loss of data
polycont\cpp/lines2jordan.hpp(144) : warning C4244: 'argument' : conversion from 'double' to 'const int', possible loss of data
polycont\cpp/lines2jordan.hpp(148) : error C2065: 'not' : undeclared identifier
polycont\cpp/lines2jordan.hpp(148) : error C2146: syntax error : missing ')' before identifier 'conts_on_junct'
polycont\cpp/lines2jordan.hpp(148) : error C2059: syntax error : ')'
polycont\cpp/lines2jordan.hpp(160) : error C2144: syntax error : 'std::liststd::pair<int,int,std::allocator<_Ty>>' should be preceded by
'}'
with
[
_Ty=std::pair<int,int>
]
polycont\cpp/lines2jordan.hpp(160) : error C2064: term does not evaluate to a function taking 1 arguments
polycont\cpp/lines2jordan.hpp(160) : error C2144: syntax error : 'std::liststd::pair<int,int,std::allocator<_Ty>>' should be preceded by
';'
with
[
_Ty=std::pair<int,int>
]
polycont\cpp/lines2jordan.hpp(202) : error C2065: 'not' : undeclared identifier
polycont\cpp/lines2jordan.hpp(202) : error C2146: syntax error : missing ')' before identifier 'swept_junctions'
polycont\cpp/lines2jordan.hpp(202) : error C2059: syntax error : ')'
polycont\cpp/lines2jordan.hpp(205) : error C2143: syntax error : missing '}' before ';'
polycont\cpp/lines2jordan.hpp(205) : error C2064: term does not evaluate to a function taking 1 arguments
polycont\cpp/lines2jordan.hpp(217) : error C2146: syntax error : missing ')' before identifier 'or'
polycont\cpp/lines2jordan.hpp(217) : error C2059: syntax error : ')'
polycont\cpp/lines2jordan.hpp(218) : error C2146: syntax error : missing ';' before identifier 'it_junct'
polycont\cpp/lines2jordan.hpp(217) : error C3861: 'or': identifier not found
polycont\cpp/lines2jordan.hpp(250) : error C2059: syntax error : '}'
polycont\cpp/lines2jordan.hpp(250) : error C2143: syntax error : missing ';' before '}'
polycont\cpp/lines2jordan.hpp(251) : error C2143: syntax error : missing ';' before '}'
polycont\cpp/lines2jordan.hpp(251) : error C2059: syntax error : '}'
polycont\cpp/move2junctions.hpp(16) : error C2143: syntax error : missing ';' before '{'
polycont\cpp/move2junctions.hpp(16) : error C2447: '{' : missing function header (old-style formal list?)
polycont\cpp/clockwise_sort.hpp(36) : error C2065: 'not' : undeclared identifier
polycont\cpp/clockwise_sort.hpp(36) : error C2146: syntax error : missing ')' before identifier 'is_clockwise'
polycont\cpp/clockwise_sort.hpp(36) : error C2059: syntax error : ')'
polycont\cpp/clockwise_sort.hpp(37) : error C2143: syntax error : missing ';' before 'std::reverse'
polycont\cpp/mask2polycont.hpp(54) : warning C4244: '=' : conversion from 'ClipperLib::cInt' to 'double', possible loss of data
polycont\cpp/mask2polycont.hpp(55) : warning C4244: '=' : conversion from 'ClipperLib::cInt' to 'double', possible loss of data
polycont\cpp/mask2polycont.hpp(60) : error C2664: 'std::vector<bool,std::allocator<_Ty>> in_out_check(const std::vector &)' : cannot
convert argument 1 from 'std::vectorPolyCont::MatrixType,std::allocator<_Ty>' to 'const std::vector &'
with
[
_Ty=bool
]
and
[
_Ty=PolyCont::MatrixType
]
Reason: cannot convert from 'std::vectorPolyCont::MatrixType,std::allocator<_Ty>' to 'const std::vector'
with
[
_Ty=PolyCont::MatrixType
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
polycont\cpp/mask2polycont.hpp(67) : error C3861: 'move2junctions': identifier not found
polycont\cpp/mask2polycont.hpp(116) : warning C4018: '<' : signed/unsigned mismatch
polycont\cpp/mask2polycont.hpp(118) : warning C4018: '<' : signed/unsigned mismatch
polycont\matlab/private/matlab_interface.hpp(26) : error C2065: 'uint16_t' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(26) : error C2065: 'im_s_ptr' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(26) : error C2059: syntax error : ')'
polycont\matlab/private/matlab_interface.hpp(27) : error C2065: 'im_s_ptr' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(28) : error C2065: 'im_s_ptr' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(34) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
polycont\matlab/private/matlab_interface.hpp(35) : error C2065: 'uint16_t' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(35) : error C2923: 'Eigen::Array' : 'uint16_t' is not a valid template type argument for
parameter '_Scalar'
polycont\matlab/private/matlab_interface.hpp(35) : error C3203: 'Array' : unspecialized class template can't be used as a template
argument for template parameter 'PlainObjectType', expected a real type
polycont\matlab/private/matlab_interface.hpp(36) : error C2065: 'uint16_t' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(36) : error C2059: syntax error : ')'
polycont\matlab/private/matlab_interface.hpp(39) : error C2065: 'curr_poly' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(39) : error C2228: left of '.cols' must have class/struct/union
type is 'unknown-type'
polycont\matlab/private/matlab_interface.hpp(43) : error C2065: 'curr_poly' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(43) : error C2228: left of '.rows' must have class/struct/union
type is 'unknown-type'
polycont\matlab/private/matlab_interface.hpp(46) : error C2065: 'curr_poly' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(46) : error C2228: left of '.rows' must have class/struct/union
type is 'unknown-type'
polycont\matlab/private/matlab_interface.hpp(48) : error C3861: 'curr_poly': identifier not found
polycont\matlab/private/matlab_interface.hpp(49) : error C3861: 'curr_poly': identifier not found
polycont\matlab/private/matlab_interface.hpp(70) : error C2065: 'uint16_t' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(70) : error C2065: 'ptr' : undeclared identifier
polycont\matlab/private/matlab_interface.hpp(70) : fatal error C1003: error count exceeds 100; stopping compilation
오류 발생: matlab_build (line 1)
mex polycont/matlab/private/mask2poly_mex.cpp clipper/clipper.cpp -Ipolycont -I/opt/local/include -I. -outdir
polycont/matlab/private/
오류 발생: run (line 96)
evalin('caller', [script ';']);
오류 발생: build (line 17)
run matlab_build.m
How to fine tune your model?
I don't have sufficient data to retrain your model from scratch.
I want to fine tune your model on my data which has only two classes ?
can we use your model with classifier ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.