├── .eggs ├── Cython-0.29.23-py3.7-linux-x86_64.egg │ ├── Cython │ │ ├── Build │ │ │ ├── BuildExecutable.py │ │ │ ├── Cythonize.py │ │ │ ├── Dependencies.py │ │ │ ├── Distutils.py │ │ │ ├── Inline.py │ │ │ ├── IpythonMagic.py │ │ │ ├── Tests │ │ │ │ ├── TestCyCache.py │ │ │ │ ├── TestInline.py │ │ │ │ ├── TestIpythonMagic.py │ │ │ │ ├── TestStripLiterals.py │ │ │ │ └── __init__.py │ │ │ └── __init__.py │ │ ├── CodeWriter.py │ │ ├── Compiler │ │ │ ├── AnalysedTreeTransforms.py │ │ │ ├── Annotate.py │ │ │ ├── AutoDocTransforms.py │ │ │ ├── Buffer.py │ │ │ ├── Builtin.py │ │ │ ├── CmdLine.py │ │ │ ├── Code.pxd │ │ │ ├── Code.py │ │ │ ├── CodeGeneration.py │ │ │ ├── CythonScope.py │ │ │ ├── DebugFlags.py │ │ │ ├── Errors.py │ │ │ ├── ExprNodes.py │ │ │ ├── FlowControl.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── FlowControl.pxd │ │ │ ├── FlowControl.py │ │ │ ├── FusedNode.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── FusedNode.py │ │ │ ├── Future.py │ │ │ ├── Interpreter.py │ │ │ ├── Lexicon.py │ │ │ ├── Main.py │ │ │ ├── MemoryView.py │ │ │ ├── ModuleNode.py │ │ │ ├── Naming.py │ │ │ ├── Nodes.py │ │ │ ├── Optimize.py │ │ │ ├── Options.py │ │ │ ├── ParseTreeTransforms.pxd │ │ │ ├── ParseTreeTransforms.py │ │ │ ├── Parsing.pxd │ │ │ ├── Parsing.py │ │ │ ├── Pipeline.py │ │ │ ├── PyrexTypes.py │ │ │ ├── Pythran.py │ │ │ ├── Scanning.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── Scanning.pxd │ │ │ ├── Scanning.py │ │ │ ├── StringEncoding.py │ │ │ ├── Symtab.py │ │ │ ├── Tests │ │ │ │ ├── TestBuffer.py │ │ │ │ ├── TestCmdLine.py │ │ │ │ ├── TestFlowControl.py │ │ │ │ ├── TestGrammar.py │ │ │ │ ├── TestMemView.py │ │ │ │ ├── TestParseTreeTransforms.py │ │ │ │ ├── TestSignatureMatching.py │ │ │ │ ├── TestStringEncoding.py │ │ │ │ ├── TestTreeFragment.py │ │ │ │ ├── TestTreePath.py │ │ │ │ ├── TestTypes.py │ │ │ │ ├── TestUtilityLoad.py │ │ │ │ ├── TestVisitor.py │ │ │ │ └── __init__.py │ │ │ ├── TreeFragment.py │ │ │ ├── TreePath.py │ │ │ ├── TypeInference.py │ │ │ ├── TypeSlots.py │ │ │ ├── UtilNodes.py │ │ │ ├── UtilityCode.py │ │ │ ├── Version.py │ │ │ ├── Visitor.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── Visitor.pxd │ │ │ ├── Visitor.py │ │ │ ├── __init__.py │ │ │ └── __pycache__ │ │ │ │ ├── AnalysedTreeTransforms.cpython-37.pyc │ │ │ │ ├── Annotate.cpython-37.pyc │ │ │ │ ├── AutoDocTransforms.cpython-37.pyc │ │ │ │ ├── Buffer.cpython-37.pyc │ │ │ │ ├── Builtin.cpython-37.pyc │ │ │ │ ├── Code.cpython-37.pyc │ │ │ │ ├── CodeGeneration.cpython-37.pyc │ │ │ │ ├── CythonScope.cpython-37.pyc │ │ │ │ ├── DebugFlags.cpython-37.pyc │ │ │ │ ├── Errors.cpython-37.pyc │ │ │ │ ├── ExprNodes.cpython-37.pyc │ │ │ │ ├── Future.cpython-37.pyc │ │ │ │ ├── Interpreter.cpython-37.pyc │ │ │ │ ├── Lexicon.cpython-37.pyc │ │ │ │ ├── Main.cpython-37.pyc │ │ │ │ ├── MemoryView.cpython-37.pyc │ │ │ │ ├── ModuleNode.cpython-37.pyc │ │ │ │ ├── Naming.cpython-37.pyc │ │ │ │ ├── Nodes.cpython-37.pyc │ │ │ │ ├── Optimize.cpython-37.pyc │ │ │ │ ├── Options.cpython-37.pyc │ │ │ │ ├── ParseTreeTransforms.cpython-37.pyc │ │ │ │ ├── Parsing.cpython-37.pyc │ │ │ │ ├── Pipeline.cpython-37.pyc │ │ │ │ ├── PyrexTypes.cpython-37.pyc │ │ │ │ ├── Pythran.cpython-37.pyc │ │ │ │ ├── StringEncoding.cpython-37.pyc │ │ │ │ ├── Symtab.cpython-37.pyc │ │ │ │ ├── TreeFragment.cpython-37.pyc │ │ │ │ ├── TypeInference.cpython-37.pyc │ │ │ │ ├── TypeSlots.cpython-37.pyc │ │ │ │ ├── UtilNodes.cpython-37.pyc │ │ │ │ ├── UtilityCode.cpython-37.pyc │ │ │ │ ├── Version.cpython-37.pyc │ │ │ │ └── __init__.cpython-37.pyc │ │ ├── Coverage.py │ │ ├── Debugger │ │ │ ├── Cygdb.py │ │ │ ├── DebugWriter.py │ │ │ ├── Tests │ │ │ │ ├── TestLibCython.py │ │ │ │ ├── __init__.py │ │ │ │ ├── cfuncs.c │ │ │ │ ├── codefile │ │ │ │ ├── test_libcython_in_gdb.py │ │ │ │ └── test_libpython_in_gdb.py │ │ │ ├── __init__.py │ │ │ ├── libcython.py │ │ │ └── libpython.py │ │ ├── Debugging.py │ │ ├── Distutils │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── build_ext.cpython-37.pyc │ │ │ │ ├── extension.cpython-37.pyc │ │ │ │ └── old_build_ext.cpython-37.pyc │ │ │ ├── build_ext.py │ │ │ ├── extension.py │ │ │ └── old_build_ext.py │ │ ├── Includes │ │ │ ├── Deprecated │ │ │ │ ├── python.pxd │ │ │ │ ├── python_bool.pxd │ │ │ │ ├── python_buffer.pxd │ │ │ │ ├── python_bytes.pxd │ │ │ │ ├── python_cobject.pxd │ │ │ │ ├── python_complex.pxd │ │ │ │ ├── python_dict.pxd │ │ │ │ ├── python_exc.pxd │ │ │ │ ├── python_float.pxd │ │ │ │ ├── python_function.pxd │ │ │ │ ├── python_getargs.pxd │ │ │ │ ├── python_instance.pxd │ │ │ │ ├── python_int.pxd │ │ │ │ ├── python_iterator.pxd │ │ │ │ ├── python_list.pxd │ │ │ │ ├── python_long.pxd │ │ │ │ ├── python_mapping.pxd │ │ │ │ ├── python_mem.pxd │ │ │ │ ├── python_method.pxd │ │ │ │ ├── python_module.pxd │ │ │ │ ├── python_number.pxd │ │ │ │ ├── python_object.pxd │ │ │ │ ├── python_oldbuffer.pxd │ │ │ │ ├── python_pycapsule.pxd │ │ │ │ ├── python_ref.pxd │ │ │ │ ├── python_sequence.pxd │ │ │ │ ├── python_set.pxd │ │ │ │ ├── python_string.pxd │ │ │ │ ├── python_tuple.pxd │ │ │ │ ├── python_type.pxd │ │ │ │ ├── python_unicode.pxd │ │ │ │ ├── python_version.pxd │ │ │ │ ├── python_weakref.pxd │ │ │ │ ├── stdio.pxd │ │ │ │ ├── stdlib.pxd │ │ │ │ └── stl.pxd │ │ │ ├── cpython │ │ │ │ ├── __init__.pxd │ │ │ │ ├── array.pxd │ │ │ │ ├── bool.pxd │ │ │ │ ├── buffer.pxd │ │ │ │ ├── bytearray.pxd │ │ │ │ ├── bytes.pxd │ │ │ │ ├── cellobject.pxd │ │ │ │ ├── ceval.pxd │ │ │ │ ├── cobject.pxd │ │ │ │ ├── codecs.pxd │ │ │ │ ├── complex.pxd │ │ │ │ ├── conversion.pxd │ │ │ │ ├── datetime.pxd │ │ │ │ ├── dict.pxd │ │ │ │ ├── exc.pxd │ │ │ │ ├── float.pxd │ │ │ │ ├── function.pxd │ │ │ │ ├── genobject.pxd │ │ │ │ ├── getargs.pxd │ │ │ │ ├── instance.pxd │ │ │ │ ├── int.pxd │ │ │ │ ├── iterator.pxd │ │ │ │ ├── iterobject.pxd │ │ │ │ ├── list.pxd │ │ │ │ ├── long.pxd │ │ │ │ ├── longintrepr.pxd │ │ │ │ ├── mapping.pxd │ │ │ │ ├── mem.pxd │ │ │ │ ├── memoryview.pxd │ │ │ │ ├── method.pxd │ │ │ │ ├── module.pxd │ │ │ │ ├── number.pxd │ │ │ │ ├── object.pxd │ │ │ │ ├── oldbuffer.pxd │ │ │ │ ├── pycapsule.pxd │ │ │ │ ├── pylifecycle.pxd │ │ │ │ ├── pystate.pxd │ │ │ │ ├── pythread.pxd │ │ │ │ ├── ref.pxd │ │ │ │ ├── sequence.pxd │ │ │ │ ├── set.pxd │ │ │ │ ├── slice.pxd │ │ │ │ ├── string.pxd │ │ │ │ ├── tuple.pxd │ │ │ │ ├── type.pxd │ │ │ │ ├── unicode.pxd │ │ │ │ ├── version.pxd │ │ │ │ └── weakref.pxd │ │ │ ├── libc │ │ │ │ ├── __init__.pxd │ │ │ │ ├── errno.pxd │ │ │ │ ├── float.pxd │ │ │ │ ├── limits.pxd │ │ │ │ ├── locale.pxd │ │ │ │ ├── math.pxd │ │ │ │ ├── setjmp.pxd │ │ │ │ ├── signal.pxd │ │ │ │ ├── stddef.pxd │ │ │ │ ├── stdint.pxd │ │ │ │ ├── stdio.pxd │ │ │ │ ├── stdlib.pxd │ │ │ │ ├── string.pxd │ │ │ │ └── time.pxd │ │ │ ├── libcpp │ │ │ │ ├── __init__.pxd │ │ │ │ ├── algorithm.pxd │ │ │ │ ├── cast.pxd │ │ │ │ ├── complex.pxd │ │ │ │ ├── deque.pxd │ │ │ │ ├── forward_list.pxd │ │ │ │ ├── functional.pxd │ │ │ │ ├── iterator.pxd │ │ │ │ ├── limits.pxd │ │ │ │ ├── list.pxd │ │ │ │ ├── map.pxd │ │ │ │ ├── memory.pxd │ │ │ │ ├── pair.pxd │ │ │ │ ├── queue.pxd │ │ │ │ ├── set.pxd │ │ │ │ ├── stack.pxd │ │ │ │ ├── string.pxd │ │ │ │ ├── typeindex.pxd │ │ │ │ ├── typeinfo.pxd │ │ │ │ ├── unordered_map.pxd │ │ │ │ ├── unordered_set.pxd │ │ │ │ ├── utility.pxd │ │ │ │ └── vector.pxd │ │ │ ├── numpy │ │ │ │ ├── __init__.pxd │ │ │ │ └── math.pxd │ │ │ ├── openmp.pxd │ │ │ └── posix │ │ │ │ ├── __init__.pxd │ │ │ │ ├── dlfcn.pxd │ │ │ │ ├── fcntl.pxd │ │ │ │ ├── ioctl.pxd │ │ │ │ ├── mman.pxd │ │ │ │ ├── resource.pxd │ │ │ │ ├── select.pxd │ │ │ │ ├── signal.pxd │ │ │ │ ├── stat.pxd │ │ │ │ ├── stdio.pxd │ │ │ │ ├── stdlib.pxd │ │ │ │ ├── strings.pxd │ │ │ │ ├── time.pxd │ │ │ │ ├── types.pxd │ │ │ │ ├── unistd.pxd │ │ │ │ └── wait.pxd │ │ ├── Plex │ │ │ ├── Actions.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── Actions.pxd │ │ │ ├── Actions.py │ │ │ ├── DFA.py │ │ │ ├── Errors.py │ │ │ ├── Lexicons.py │ │ │ ├── Machines.py │ │ │ ├── Regexps.py │ │ │ ├── Scanners.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── Scanners.pxd │ │ │ ├── Scanners.py │ │ │ ├── Timing.py │ │ │ ├── Traditional.py │ │ │ ├── Transitions.py │ │ │ ├── __init__.py │ │ │ └── __pycache__ │ │ │ │ ├── DFA.cpython-37.pyc │ │ │ │ ├── Errors.cpython-37.pyc │ │ │ │ ├── Lexicons.cpython-37.pyc │ │ │ │ ├── Machines.cpython-37.pyc │ │ │ │ ├── Regexps.cpython-37.pyc │ │ │ │ ├── Transitions.cpython-37.pyc │ │ │ │ └── __init__.cpython-37.pyc │ │ ├── Runtime │ │ │ ├── __init__.py │ │ │ ├── refnanny.cpython-37m-x86_64-linux-gnu.so │ │ │ └── refnanny.pyx │ │ ├── Shadow.py │ │ ├── StringIOTree.py │ │ ├── Tempita │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── _looper.cpython-37.pyc │ │ │ │ └── compat3.cpython-37.pyc │ │ │ ├── _looper.py │ │ │ ├── _tempita.cpython-37m-x86_64-linux-gnu.so │ │ │ ├── _tempita.py │ │ │ └── compat3.py │ │ ├── TestUtils.py │ │ ├── Tests │ │ │ ├── TestCodeWriter.py │ │ │ ├── TestCythonUtils.py │ │ │ ├── TestJediTyper.py │ │ │ ├── TestStringIOTree.py │ │ │ ├── __init__.py │ │ │ └── xmlrunner.py │ │ ├── Utility │ │ │ ├── AsyncGen.c │ │ │ ├── Buffer.c │ │ │ ├── Builtins.c │ │ │ ├── CConvert.pyx │ │ │ ├── CMath.c │ │ │ ├── Capsule.c │ │ │ ├── CommonStructures.c │ │ │ ├── Complex.c │ │ │ ├── Coroutine.c │ │ │ ├── CpdefEnums.pyx │ │ │ ├── CppConvert.pyx │ │ │ ├── CppSupport.cpp │ │ │ ├── CythonFunction.c │ │ │ ├── Embed.c │ │ │ ├── Exceptions.c │ │ │ ├── ExtensionTypes.c │ │ │ ├── FunctionArguments.c │ │ │ ├── ImportExport.c │ │ │ ├── MemoryView.pyx │ │ │ ├── MemoryView_C.c │ │ │ ├── ModuleSetupCode.c │ │ │ ├── ObjectHandling.c │ │ │ ├── Optimize.c │ │ │ ├── Overflow.c │ │ │ ├── Printing.c │ │ │ ├── Profile.c │ │ │ ├── StringTools.c │ │ │ ├── TestCyUtilityLoader.pyx │ │ │ ├── TestCythonScope.pyx │ │ │ ├── TestUtilityLoader.c │ │ │ ├── TypeConversion.c │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ └── __init__.cpython-37.pyc │ │ │ └── arrayarray.h │ │ ├── Utils.py │ │ ├── __init__.py │ │ └── __pycache__ │ │ │ ├── CodeWriter.cpython-37.pyc │ │ │ ├── Debugging.cpython-37.pyc │ │ │ ├── Shadow.cpython-37.pyc │ │ │ ├── StringIOTree.cpython-37.pyc │ │ │ ├── Utils.cpython-37.pyc │ │ │ └── __init__.cpython-37.pyc │ ├── EGG-INFO │ │ ├── COPYING.txt │ │ ├── LICENSE.txt │ │ ├── PKG-INFO │ │ ├── RECORD │ │ ├── WHEEL │ │ ├── entry_points.txt │ │ └── top_level.txt │ ├── __pycache__ │ │ └── cython.cpython-37.pyc │ ├── cython.py │ └── pyximport │ │ ├── __init__.py │ │ ├── pyxbuild.py │ │ └── pyximport.py └── README.txt ├── .idea ├── .gitignore ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── underwater-object-detection.iml └── vcs.xml ├── README.md ├── build └── lib │ └── mmdet │ ├── __init__.py │ ├── apis │ ├── __init__.py │ ├── inference.py │ ├── test.py │ └── train.py │ ├── core │ ├── __init__.py │ ├── anchor │ │ ├── __init__.py │ │ ├── anchor_generator.py │ │ ├── builder.py │ │ ├── point_generator.py │ │ └── utils.py │ ├── bbox │ │ ├── __init__.py │ │ ├── assigners │ │ │ ├── __init__.py │ │ │ ├── approx_max_iou_assigner.py │ │ │ ├── assign_result.py │ │ │ ├── atss_assigner.py │ │ │ ├── base_assigner.py │ │ │ ├── center_region_assigner.py │ │ │ ├── grid_assigner.py │ │ │ ├── hungarian_assigner.py │ │ │ ├── max_iou_assigner.py │ │ │ ├── point_assigner.py │ │ │ └── region_assigner.py │ │ ├── builder.py │ │ ├── coder │ │ │ ├── __init__.py │ │ │ ├── base_bbox_coder.py │ │ │ ├── bucketing_bbox_coder.py │ │ │ ├── delta_xywh_bbox_coder.py │ │ │ ├── legacy_delta_xywh_bbox_coder.py │ │ │ ├── pseudo_bbox_coder.py │ │ │ ├── tblr_bbox_coder.py │ │ │ └── yolo_bbox_coder.py │ │ ├── demodata.py │ │ ├── iou_calculators │ │ │ ├── __init__.py │ │ │ ├── builder.py │ │ │ └── iou2d_calculator.py │ │ ├── match_costs │ │ │ ├── __init__.py │ │ │ ├── builder.py │ │ │ └── match_cost.py │ │ ├── samplers │ │ │ ├── __init__.py │ │ │ ├── base_sampler.py │ │ │ ├── combined_sampler.py │ │ │ ├── instance_balanced_pos_sampler.py │ │ │ ├── iou_balanced_neg_sampler.py │ │ │ ├── ohem_sampler.py │ │ │ ├── pseudo_sampler.py │ │ │ ├── random_sampler.py │ │ │ ├── sampling_result.py │ │ │ └── score_hlr_sampler.py │ │ └── transforms.py │ ├── evaluation │ │ ├── __init__.py │ │ ├── bbox_overlaps.py │ │ ├── class_names.py │ │ ├── coco_utils.py │ │ ├── eval_hooks.py │ │ ├── mean_ap.py │ │ └── recall.py │ ├── export │ │ ├── __init__.py │ │ └── pytorch2onnx.py │ ├── mask │ │ ├── __init__.py │ │ ├── mask_target.py │ │ ├── structures.py │ │ └── utils.py │ ├── post_processing │ │ ├── __init__.py │ │ ├── bbox_nms.py │ │ └── merge_augs.py │ ├── utils │ │ ├── __init__.py │ │ ├── dist_utils.py │ │ ├── misc.py │ │ └── swa_hook.py │ └── visualization │ │ ├── __init__.py │ │ └── image.py │ ├── datasets │ ├── __init__.py │ ├── builder.py │ ├── cityscapes.py │ ├── coco.py │ ├── custom.py │ ├── dataset_wrappers.py │ ├── deepfashion.py │ ├── lvis.py │ ├── mosaic.py │ ├── pipelines │ │ ├── __init__.py │ │ ├── autoaugment_utils.py │ │ ├── compose.py │ │ ├── formating.py │ │ ├── instaboost.py │ │ ├── loading.py │ │ ├── loadingmasoic.py │ │ ├── test_time_aug.py │ │ └── transforms.py │ ├── samplers │ │ ├── __init__.py │ │ ├── distributed_sampler.py │ │ └── group_sampler.py │ ├── underwater.py │ ├── utils.py │ ├── voc.py │ ├── watermosaicdataset.py │ ├── wider_face.py │ └── xml_style.py │ ├── models │ ├── __init__.py │ ├── backbones │ │ ├── __init__.py │ │ ├── base_backbone.py │ │ ├── darknet.py │ │ ├── detectors_resnest.py │ │ ├── detectors_resnet.py │ │ ├── detectors_resnext.py │ │ ├── hourglass.py │ │ ├── hrnet.py │ │ ├── regnet.py │ │ ├── res2net.py │ │ ├── resnest.py │ │ ├── resnet.py │ │ ├── resnext.py │ │ ├── ssd_res50.py │ │ ├── ssd_vgg.py │ │ ├── trident_resnet.py │ │ └── vgg.py │ ├── builder.py │ ├── dense_heads │ │ ├── __init__.py │ │ ├── anchor_free_head.py │ │ ├── anchor_head.py │ │ ├── atss_head.py │ │ ├── base_dense_head.py │ │ ├── cascade_rpn_head.py │ │ ├── centripetal_head.py │ │ ├── corner_head.py │ │ ├── dense_test_mixins.py │ │ ├── embedding_rpn_head.py │ │ ├── fcos_head.py │ │ ├── fovea_head.py │ │ ├── free_anchor_retina_head.py │ │ ├── fsaf_head.py │ │ ├── ga_retina_head.py │ │ ├── ga_rpn_head.py │ │ ├── gfl_head.py │ │ ├── guided_anchor_head.py │ │ ├── nasfcos_head.py │ │ ├── paa_head.py │ │ ├── pisa_retinanet_head.py │ │ ├── pisa_ssd_head.py │ │ ├── reppoints_head.py │ │ ├── retina_head.py │ │ ├── retina_sepbn_head.py │ │ ├── rpn_head.py │ │ ├── rpn_test_mixin.py │ │ ├── sabl_retina_head.py │ │ ├── ssd_head.py │ │ ├── transformer_head.py │ │ ├── vfnet_head.py │ │ ├── yolact_head.py │ │ └── yolo_head.py │ ├── detectors │ │ ├── __init__.py │ │ ├── atss.py │ │ ├── base.py │ │ ├── cascade_rcnn.py │ │ ├── cornernet.py │ │ ├── detr.py │ │ ├── fast_rcnn.py │ │ ├── faster_rcnn.py │ │ ├── fcos.py │ │ ├── fovea.py │ │ ├── fsaf.py │ │ ├── gfl.py │ │ ├── grid_rcnn.py │ │ ├── htc.py │ │ ├── mask_rcnn.py │ │ ├── mask_scoring_rcnn.py │ │ ├── nasfcos.py │ │ ├── paa.py │ │ ├── point_rend.py │ │ ├── reppoints_detector.py │ │ ├── retinanet.py │ │ ├── rpn.py │ │ ├── scnet.py │ │ ├── single_stage.py │ │ ├── sparse_rcnn.py │ │ ├── trident_faster_rcnn.py │ │ ├── two_stage.py │ │ ├── vfnet.py │ │ ├── yolact.py │ │ └── yolo.py │ ├── losses │ │ ├── __init__.py │ │ ├── accuracy.py │ │ ├── ae_loss.py │ │ ├── balanced_l1_loss.py │ │ ├── cross_entropy_loss.py │ │ ├── focal_loss.py │ │ ├── gaussian_focal_loss.py │ │ ├── gfocal_loss.py │ │ ├── ghm_loss.py │ │ ├── iou_loss.py │ │ ├── mse_loss.py │ │ ├── pisa_loss.py │ │ ├── smooth_l1_loss.py │ │ ├── utils.py │ │ └── varifocal_loss.py │ ├── necks │ │ ├── __init__.py │ │ ├── acfpn.py │ │ ├── bfp.py │ │ ├── channel_mapper.py │ │ ├── fpg.py │ │ ├── fpn.py │ │ ├── fpn_carafe.py │ │ ├── hrfpn.py │ │ ├── nas_fpn.py │ │ ├── nasfcos_fpn.py │ │ ├── pafpn.py │ │ ├── rfp.py │ │ ├── ssd_neck.py │ │ └── yolo_neck.py │ ├── roi_heads │ │ ├── __init__.py │ │ ├── base_roi_head.py │ │ ├── bbox_heads │ │ │ ├── __init__.py │ │ │ ├── bbox_head.py │ │ │ ├── convfc_bbox_head.py │ │ │ ├── dii_head.py │ │ │ ├── double_bbox_head.py │ │ │ ├── sabl_head.py │ │ │ └── scnet_bbox_head.py │ │ ├── cascade_roi_head.py │ │ ├── double_roi_head.py │ │ ├── dynamic_roi_head.py │ │ ├── grid_roi_head.py │ │ ├── htc_roi_head.py │ │ ├── mask_heads │ │ │ ├── __init__.py │ │ │ ├── coarse_mask_head.py │ │ │ ├── fcn_mask_head.py │ │ │ ├── feature_relay_head.py │ │ │ ├── fused_semantic_head.py │ │ │ ├── global_context_head.py │ │ │ ├── grid_head.py │ │ │ ├── htc_mask_head.py │ │ │ ├── mask_point_head.py │ │ │ ├── maskiou_head.py │ │ │ ├── scnet_mask_head.py │ │ │ └── scnet_semantic_head.py │ │ ├── mask_scoring_roi_head.py │ │ ├── pisa_roi_head.py │ │ ├── point_rend_roi_head.py │ │ ├── roi_extractors │ │ │ ├── __init__.py │ │ │ ├── base_roi_extractor.py │ │ │ ├── generic_roi_extractor.py │ │ │ └── single_level_roi_extractor.py │ │ ├── scnet_roi_head.py │ │ ├── shared_heads │ │ │ ├── __init__.py │ │ │ └── res_layer.py │ │ ├── sparse_roi_head.py │ │ ├── standard_roi_head.py │ │ ├── test_mixins.py │ │ └── trident_roi_head.py │ └── utils │ │ ├── __init__.py │ │ ├── builder.py │ │ ├── gaussian_target.py │ │ ├── positional_encoding.py │ │ ├── res_layer.py │ │ └── transformer.py │ ├── utils │ ├── __init__.py │ ├── collect_env.py │ ├── contextmanagers.py │ ├── logger.py │ ├── profiling.py │ ├── util_mixins.py │ └── util_random.py │ └── version.py ├── configs ├── cascade_rcnn_r50_rfp_sac_iou_e15_alldata.py ├── cascade_rcnn_r50_rfp_sac_iou_e15_alldata_v3.py ├── cascade_rcnn_x101_64x4d_fpn_dcn_e15.py └── swa_cascade_rcnn_r50_rfp_sac_iou_alldata-v3_e15.py ├── dist └── mmdet-2.10.0-py3.7.egg ├── mmdet.egg-info ├── PKG-INFO ├── SOURCES.txt ├── dependency_links.txt ├── not-zip-safe ├── requires.txt └── top_level.txt ├── mmdet ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ └── version.cpython-37.pyc ├── apis │ ├── .ipynb_checkpoints │ │ ├── __init__-checkpoint.py │ │ ├── inference-checkpoint.py │ │ ├── test-checkpoint.py │ │ ├── train-checkpoint.py │ │ └── train.py-checkpoint.bak │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── inference.cpython-37.pyc │ │ ├── test.cpython-37.pyc │ │ └── train.cpython-37.pyc │ ├── inference.py │ ├── test.py │ ├── train.py │ └── train.py.bak ├── core │ ├── .ipynb_checkpoints │ │ └── __init__-checkpoint.py │ ├── __init__.py │ ├── __pycache__ │ │ └── __init__.cpython-37.pyc │ ├── anchor │ │ ├── .ipynb_checkpoints │ │ │ ├── anchor_generator-checkpoint.py │ │ │ ├── builder-checkpoint.py │ │ │ ├── point_generator-checkpoint.py │ │ │ └── utils-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── anchor_generator.cpython-37.pyc │ │ │ ├── builder.cpython-37.pyc │ │ │ ├── point_generator.cpython-37.pyc │ │ │ └── utils.cpython-37.pyc │ │ ├── anchor_generator.py │ │ ├── builder.py │ │ ├── point_generator.py │ │ └── utils.py │ ├── bbox │ │ ├── .ipynb_checkpoints │ │ │ ├── builder-checkpoint.py │ │ │ ├── demodata-checkpoint.py │ │ │ └── transforms-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── builder.cpython-37.pyc │ │ │ └── transforms.cpython-37.pyc │ │ ├── assigners │ │ │ ├── .ipynb_checkpoints │ │ │ │ ├── atss_assigner-checkpoint.py │ │ │ │ └── max_iou_assigner-checkpoint.py │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── approx_max_iou_assigner.cpython-37.pyc │ │ │ │ ├── assign_result.cpython-37.pyc │ │ │ │ ├── atss_assigner.cpython-37.pyc │ │ │ │ ├── base_assigner.cpython-37.pyc │ │ │ │ ├── center_region_assigner.cpython-37.pyc │ │ │ │ ├── grid_assigner.cpython-37.pyc │ │ │ │ ├── hungarian_assigner.cpython-37.pyc │ │ │ │ ├── max_iou_assigner.cpython-37.pyc │ │ │ │ ├── point_assigner.cpython-37.pyc │ │ │ │ └── region_assigner.cpython-37.pyc │ │ │ ├── approx_max_iou_assigner.py │ │ │ ├── assign_result.py │ │ │ ├── atss_assigner.py │ │ │ ├── base_assigner.py │ │ │ ├── center_region_assigner.py │ │ │ ├── grid_assigner.py │ │ │ ├── hungarian_assigner.py │ │ │ ├── max_iou_assigner.py │ │ │ ├── point_assigner.py │ │ │ └── region_assigner.py │ │ ├── builder.py │ │ ├── coder │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── base_bbox_coder.cpython-37.pyc │ │ │ │ ├── bucketing_bbox_coder.cpython-37.pyc │ │ │ │ ├── delta_xywh_bbox_coder.cpython-37.pyc │ │ │ │ ├── legacy_delta_xywh_bbox_coder.cpython-37.pyc │ │ │ │ ├── pseudo_bbox_coder.cpython-37.pyc │ │ │ │ ├── tblr_bbox_coder.cpython-37.pyc │ │ │ │ └── yolo_bbox_coder.cpython-37.pyc │ │ │ ├── base_bbox_coder.py │ │ │ ├── bucketing_bbox_coder.py │ │ │ ├── delta_xywh_bbox_coder.py │ │ │ ├── legacy_delta_xywh_bbox_coder.py │ │ │ ├── pseudo_bbox_coder.py │ │ │ ├── tblr_bbox_coder.py │ │ │ └── yolo_bbox_coder.py │ │ ├── demodata.py │ │ ├── iou_calculators │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── builder.cpython-37.pyc │ │ │ │ └── iou2d_calculator.cpython-37.pyc │ │ │ ├── builder.py │ │ │ └── iou2d_calculator.py │ │ ├── match_costs │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── builder.cpython-37.pyc │ │ │ │ └── match_cost.cpython-37.pyc │ │ │ ├── builder.py │ │ │ └── match_cost.py │ │ ├── samplers │ │ │ ├── .ipynb_checkpoints │ │ │ │ └── base_sampler-checkpoint.py │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── base_sampler.cpython-37.pyc │ │ │ │ ├── combined_sampler.cpython-37.pyc │ │ │ │ ├── instance_balanced_pos_sampler.cpython-37.pyc │ │ │ │ ├── iou_balanced_neg_sampler.cpython-37.pyc │ │ │ │ ├── ohem_sampler.cpython-37.pyc │ │ │ │ ├── pseudo_sampler.cpython-37.pyc │ │ │ │ ├── random_sampler.cpython-37.pyc │ │ │ │ ├── sampling_result.cpython-37.pyc │ │ │ │ └── score_hlr_sampler.cpython-37.pyc │ │ │ ├── base_sampler.py │ │ │ ├── combined_sampler.py │ │ │ ├── instance_balanced_pos_sampler.py │ │ │ ├── iou_balanced_neg_sampler.py │ │ │ ├── ohem_sampler.py │ │ │ ├── pseudo_sampler.py │ │ │ ├── random_sampler.py │ │ │ ├── sampling_result.py │ │ │ └── score_hlr_sampler.py │ │ └── transforms.py │ ├── evaluation │ │ ├── .ipynb_checkpoints │ │ │ ├── __init__-checkpoint.py │ │ │ ├── class_names-checkpoint.py │ │ │ ├── coco_utils-checkpoint.py │ │ │ ├── eval_hooks-checkpoint.py │ │ │ └── recall-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── bbox_overlaps.cpython-37.pyc │ │ │ ├── class_names.cpython-37.pyc │ │ │ ├── eval_hooks.cpython-37.pyc │ │ │ ├── mean_ap.cpython-37.pyc │ │ │ └── recall.cpython-37.pyc │ │ ├── bbox_overlaps.py │ │ ├── class_names.py │ │ ├── coco_utils.py │ │ ├── eval_hooks.py │ │ ├── mean_ap.py │ │ └── recall.py │ ├── export │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── pytorch2onnx.cpython-37.pyc │ │ └── pytorch2onnx.py │ ├── mask │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── mask_target.cpython-37.pyc │ │ │ ├── structures.cpython-37.pyc │ │ │ └── utils.cpython-37.pyc │ │ ├── mask_target.py │ │ ├── structures.py │ │ └── utils.py │ ├── post_processing │ │ ├── .ipynb_checkpoints │ │ │ ├── bbox_nms-checkpoint.py │ │ │ └── merge_augs-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── bbox_nms.cpython-37.pyc │ │ │ └── merge_augs.cpython-37.pyc │ │ ├── bbox_nms.py │ │ └── merge_augs.py │ ├── utils │ │ ├── .ipynb_checkpoints │ │ │ ├── __init__-checkpoint.py │ │ │ ├── dist_utils-checkpoint.py │ │ │ ├── misc-checkpoint.py │ │ │ └── swa_hook-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── dist_utils.cpython-37.pyc │ │ │ └── misc.cpython-37.pyc │ │ ├── dist_utils.py │ │ ├── misc.py │ │ └── swa_hook.py │ └── visualization │ │ ├── .ipynb_checkpoints │ │ └── image-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── image.cpython-37.pyc │ │ └── image.py ├── datasets │ ├── .ipynb_checkpoints │ │ ├── __init__-checkpoint.py │ │ ├── builder-checkpoint.py │ │ ├── coco-checkpoint.py │ │ ├── custom-checkpoint.py │ │ ├── lvis-checkpoint.py │ │ ├── mosaic-checkpoint.py │ │ ├── underwater-checkpoint.py │ │ ├── underwater.py-checkpoint.bak │ │ ├── utils-checkpoint.py │ │ └── watermosaicdataset-checkpoint.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── cityscapes.cpython-37.pyc │ │ ├── coco.cpython-37.pyc │ │ ├── custom.cpython-37.pyc │ │ ├── dataset_wrappers.cpython-37.pyc │ │ ├── deepfashion.cpython-37.pyc │ │ ├── lvis.cpython-37.pyc │ │ ├── underwater.cpython-37.pyc │ │ ├── utils.cpython-37.pyc │ │ ├── voc.cpython-37.pyc │ │ ├── wider_face.cpython-37.pyc │ │ └── xml_style.cpython-37.pyc │ ├── builder.py │ ├── cityscapes.py │ ├── coco.py │ ├── custom.py │ ├── dataset_wrappers.py │ ├── deepfashion.py │ ├── lvis.py │ ├── mosaic.py │ ├── pipelines │ │ ├── .ipynb_checkpoints │ │ │ ├── __init__-checkpoint.py │ │ │ ├── auto_augment.py-checkpoint.bak │ │ │ ├── autoaugment_utils-checkpoint.py │ │ │ ├── compose-checkpoint.py │ │ │ ├── instaboost-checkpoint.py │ │ │ ├── loading-checkpoint.py │ │ │ ├── loadingmasoic-checkpoint.py │ │ │ ├── test_time_aug-checkpoint.py │ │ │ └── transforms-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── auto_augment.cpython-37.pyc │ │ │ ├── compose.cpython-37.pyc │ │ │ ├── formating.cpython-37.pyc │ │ │ ├── instaboost.cpython-37.pyc │ │ │ ├── loading.cpython-37.pyc │ │ │ ├── test_time_aug.cpython-37.pyc │ │ │ └── transforms.cpython-37.pyc │ │ ├── auto_augment.py.bak │ │ ├── autoaugment_utils.py │ │ ├── compose.py │ │ ├── formating.py │ │ ├── instaboost.py │ │ ├── loading.py │ │ ├── loadingmasoic.py │ │ ├── test_time_aug.py │ │ └── transforms.py │ ├── samplers │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── distributed_sampler.cpython-37.pyc │ │ │ └── group_sampler.cpython-37.pyc │ │ ├── distributed_sampler.py │ │ └── group_sampler.py │ ├── underwater.py │ ├── underwater.py.bak │ ├── utils.py │ ├── voc.py │ ├── watermosaicdataset.py │ ├── wider_face.py │ └── xml_style.py ├── models │ ├── .ipynb_checkpoints │ │ ├── __init__-checkpoint.py │ │ └── builder-checkpoint.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── builder.cpython-37.pyc │ ├── backbones │ │ ├── .ipynb_checkpoints │ │ │ ├── __init__-checkpoint.py │ │ │ ├── base_backbone-checkpoint.py │ │ │ ├── detectors_resnest-checkpoint.py │ │ │ ├── detectors_resnet-checkpoint.py │ │ │ ├── detectors_resnext-checkpoint.py │ │ │ ├── resnest-checkpoint.py │ │ │ ├── resnet-checkpoint.py │ │ │ ├── ssd_res50-checkpoint.py │ │ │ ├── ssd_vgg-checkpoint.py │ │ │ ├── trident_resnet-checkpoint.py │ │ │ └── vgg-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── base_backbone.cpython-37.pyc │ │ │ ├── darknet.cpython-37.pyc │ │ │ ├── detectors_resnet.cpython-37.pyc │ │ │ ├── detectors_resnext.cpython-37.pyc │ │ │ ├── hourglass.cpython-37.pyc │ │ │ ├── hrnet.cpython-37.pyc │ │ │ ├── regnet.cpython-37.pyc │ │ │ ├── res2net.cpython-37.pyc │ │ │ ├── resnest.cpython-37.pyc │ │ │ ├── resnet.cpython-37.pyc │ │ │ ├── resnext.cpython-37.pyc │ │ │ ├── ssd_res50.cpython-37.pyc │ │ │ ├── ssd_vgg.cpython-37.pyc │ │ │ ├── trident_resnet.cpython-37.pyc │ │ │ └── vgg.cpython-37.pyc │ │ ├── base_backbone.py │ │ ├── darknet.py │ │ ├── detectors_resnest.py │ │ ├── detectors_resnet.py │ │ ├── detectors_resnext.py │ │ ├── hourglass.py │ │ ├── hrnet.py │ │ ├── regnet.py │ │ ├── res2net.py │ │ ├── resnest.py │ │ ├── resnet.py │ │ ├── resnext.py │ │ ├── ssd_res50.py │ │ ├── ssd_vgg.py │ │ ├── trident_resnet.py │ │ └── vgg.py │ ├── builder.py │ ├── dense_heads │ │ ├── .ipynb_checkpoints │ │ │ ├── anchor_head-checkpoint.py │ │ │ ├── anchor_head.py-checkpoint.bak │ │ │ ├── atss_head-checkpoint.py │ │ │ ├── base_dense_head-checkpoint.py │ │ │ ├── embedding_rpn_head-checkpoint.py │ │ │ ├── rpn_head-checkpoint.py │ │ │ ├── rpn_test_mixin-checkpoint.py │ │ │ └── ssd_head-checkpoint.py │ │ ├── .txt │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── anchor_free_head.cpython-37.pyc │ │ │ ├── anchor_head.cpython-37.pyc │ │ │ ├── atss_head.cpython-37.pyc │ │ │ ├── base_dense_head.cpython-37.pyc │ │ │ ├── cascade_rpn_head.cpython-37.pyc │ │ │ ├── centripetal_head.cpython-37.pyc │ │ │ ├── corner_head.cpython-37.pyc │ │ │ ├── dense_test_mixins.cpython-37.pyc │ │ │ ├── embedding_rpn_head.cpython-37.pyc │ │ │ ├── fcos_head.cpython-37.pyc │ │ │ ├── fovea_head.cpython-37.pyc │ │ │ ├── free_anchor_retina_head.cpython-37.pyc │ │ │ ├── fsaf_head.cpython-37.pyc │ │ │ ├── ga_retina_head.cpython-37.pyc │ │ │ ├── ga_rpn_head.cpython-37.pyc │ │ │ ├── gfl_head.cpython-37.pyc │ │ │ ├── guided_anchor_head.cpython-37.pyc │ │ │ ├── nasfcos_head.cpython-37.pyc │ │ │ ├── paa_head.cpython-37.pyc │ │ │ ├── pisa_retinanet_head.cpython-37.pyc │ │ │ ├── pisa_ssd_head.cpython-37.pyc │ │ │ ├── reppoints_head.cpython-37.pyc │ │ │ ├── retina_head.cpython-37.pyc │ │ │ ├── retina_sepbn_head.cpython-37.pyc │ │ │ ├── rpn_head.cpython-37.pyc │ │ │ ├── rpn_test_mixin.cpython-37.pyc │ │ │ ├── sabl_retina_head.cpython-37.pyc │ │ │ ├── ssd_head.cpython-37.pyc │ │ │ ├── transformer_head.cpython-37.pyc │ │ │ ├── vfnet_head.cpython-37.pyc │ │ │ ├── yolact_head.cpython-37.pyc │ │ │ └── yolo_head.cpython-37.pyc │ │ ├── anchor_free_head.py │ │ ├── anchor_head.py │ │ ├── anchor_head.py.bak │ │ ├── atss_head.py │ │ ├── base_dense_head.py │ │ ├── cascade_rpn_head.py │ │ ├── centripetal_head.py │ │ ├── corner_head.py │ │ ├── dense_test_mixins.py │ │ ├── embedding_rpn_head.py │ │ ├── fcos_head.py │ │ ├── fovea_head.py │ │ ├── free_anchor_retina_head.py │ │ ├── fsaf_head.py │ │ ├── ga_retina_head.py │ │ ├── ga_rpn_head.py │ │ ├── gfl_head.py │ │ ├── guided_anchor_head.py │ │ ├── nasfcos_head.py │ │ ├── paa_head.py │ │ ├── pisa_retinanet_head.py │ │ ├── pisa_ssd_head.py │ │ ├── reppoints_head.py │ │ ├── retina_head.py │ │ ├── retina_sepbn_head.py │ │ ├── rpn_head.py │ │ ├── rpn_test_mixin.py │ │ ├── sabl_retina_head.py │ │ ├── ssd_head.py │ │ ├── transformer_head.py │ │ ├── vfnet_head.py │ │ ├── yolact_head.py │ │ └── yolo_head.py │ ├── detectors │ │ ├── .ipynb_checkpoints │ │ │ ├── atss-checkpoint.py │ │ │ ├── base-checkpoint.py │ │ │ ├── cascade_rcnn-checkpoint.py │ │ │ ├── single_stage-checkpoint.py │ │ │ ├── two_stage-checkpoint.py │ │ │ └── vfnet-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── atss.cpython-37.pyc │ │ │ ├── base.cpython-37.pyc │ │ │ ├── cascade_rcnn.cpython-37.pyc │ │ │ ├── cornernet.cpython-37.pyc │ │ │ ├── detr.cpython-37.pyc │ │ │ ├── fast_rcnn.cpython-37.pyc │ │ │ ├── faster_rcnn.cpython-37.pyc │ │ │ ├── fcos.cpython-37.pyc │ │ │ ├── fovea.cpython-37.pyc │ │ │ ├── fsaf.cpython-37.pyc │ │ │ ├── gfl.cpython-37.pyc │ │ │ ├── grid_rcnn.cpython-37.pyc │ │ │ ├── htc.cpython-37.pyc │ │ │ ├── mask_rcnn.cpython-37.pyc │ │ │ ├── mask_scoring_rcnn.cpython-37.pyc │ │ │ ├── nasfcos.cpython-37.pyc │ │ │ ├── paa.cpython-37.pyc │ │ │ ├── point_rend.cpython-37.pyc │ │ │ ├── reppoints_detector.cpython-37.pyc │ │ │ ├── retinanet.cpython-37.pyc │ │ │ ├── rpn.cpython-37.pyc │ │ │ ├── scnet.cpython-37.pyc │ │ │ ├── scnet.cpython-37.pyc.140471741611440 │ │ │ ├── single_stage.cpython-37.pyc │ │ │ ├── sparse_rcnn.cpython-37.pyc │ │ │ ├── trident_faster_rcnn.cpython-37.pyc │ │ │ ├── two_stage.cpython-37.pyc │ │ │ ├── vfnet.cpython-37.pyc │ │ │ ├── yolact.cpython-37.pyc │ │ │ └── yolo.cpython-37.pyc │ │ ├── atss.py │ │ ├── base.py │ │ ├── cascade_rcnn.py │ │ ├── cornernet.py │ │ ├── detr.py │ │ ├── fast_rcnn.py │ │ ├── faster_rcnn.py │ │ ├── fcos.py │ │ ├── fovea.py │ │ ├── fsaf.py │ │ ├── gfl.py │ │ ├── grid_rcnn.py │ │ ├── htc.py │ │ ├── mask_rcnn.py │ │ ├── mask_scoring_rcnn.py │ │ ├── nasfcos.py │ │ ├── paa.py │ │ ├── point_rend.py │ │ ├── reppoints_detector.py │ │ ├── retinanet.py │ │ ├── rpn.py │ │ ├── scnet.py │ │ ├── single_stage.py │ │ ├── sparse_rcnn.py │ │ ├── trident_faster_rcnn.py │ │ ├── two_stage.py │ │ ├── vfnet.py │ │ ├── yolact.py │ │ └── yolo.py │ ├── losses │ │ ├── .ipynb_checkpoints │ │ │ ├── cross_entropy_loss-checkpoint.py │ │ │ ├── focal_loss-checkpoint.py │ │ │ ├── iou_loss-checkpoint.py │ │ │ └── smooth_l1_loss-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── accuracy.cpython-37.pyc │ │ │ ├── ae_loss.cpython-37.pyc │ │ │ ├── balanced_l1_loss.cpython-37.pyc │ │ │ ├── cross_entropy_loss.cpython-37.pyc │ │ │ ├── focal_loss.cpython-37.pyc │ │ │ ├── gaussian_focal_loss.cpython-37.pyc │ │ │ ├── gfocal_loss.cpython-37.pyc │ │ │ ├── ghm_loss.cpython-37.pyc │ │ │ ├── iou_loss.cpython-37.pyc │ │ │ ├── mse_loss.cpython-37.pyc │ │ │ ├── pisa_loss.cpython-37.pyc │ │ │ ├── smooth_l1_loss.cpython-37.pyc │ │ │ ├── utils.cpython-37.pyc │ │ │ └── varifocal_loss.cpython-37.pyc │ │ ├── accuracy.py │ │ ├── ae_loss.py │ │ ├── balanced_l1_loss.py │ │ ├── cross_entropy_loss.py │ │ ├── focal_loss.py │ │ ├── gaussian_focal_loss.py │ │ ├── gfocal_loss.py │ │ ├── ghm_loss.py │ │ ├── iou_loss.py │ │ ├── mse_loss.py │ │ ├── pisa_loss.py │ │ ├── smooth_l1_loss.py │ │ ├── utils.py │ │ └── varifocal_loss.py │ ├── necks │ │ ├── .ipynb_checkpoints │ │ │ ├── __init__-checkpoint.py │ │ │ ├── acfpn-checkpoint.py │ │ │ ├── bfp-checkpoint.py │ │ │ ├── fpg-checkpoint.py │ │ │ ├── fpn-checkpoint.py │ │ │ ├── fpn_carafe-checkpoint.py │ │ │ ├── hrfpn-checkpoint.py │ │ │ ├── nas_fpn-checkpoint.py │ │ │ ├── nasfcos_fpn-checkpoint.py │ │ │ ├── pafpn-checkpoint.py │ │ │ ├── rfp-checkpoint.py │ │ │ ├── ssd_neck-checkpoint.py │ │ │ └── yolo_neck-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── bfp.cpython-37.pyc │ │ │ ├── channel_mapper.cpython-37.pyc │ │ │ ├── fpg.cpython-37.pyc │ │ │ ├── fpn.cpython-37.pyc │ │ │ ├── fpn_carafe.cpython-37.pyc │ │ │ ├── hrfpn.cpython-37.pyc │ │ │ ├── nas_fpn.cpython-37.pyc │ │ │ ├── nasfcos_fpn.cpython-37.pyc │ │ │ ├── pafpn.cpython-37.pyc │ │ │ ├── rfp.cpython-37.pyc │ │ │ ├── ssd_neck.cpython-37.pyc │ │ │ └── yolo_neck.cpython-37.pyc │ │ ├── acfpn.py │ │ ├── bfp.py │ │ ├── channel_mapper.py │ │ ├── fpg.py │ │ ├── fpn.py │ │ ├── fpn_carafe.py │ │ ├── hrfpn.py │ │ ├── nas_fpn.py │ │ ├── nasfcos_fpn.py │ │ ├── pafpn.py │ │ ├── rfp.py │ │ ├── ssd_neck.py │ │ └── yolo_neck.py │ ├── roi_heads │ │ ├── .ipynb_checkpoints │ │ │ ├── base_roi_head-checkpoint.py │ │ │ └── cascade_roi_head-checkpoint.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── base_roi_head.cpython-37.pyc │ │ │ ├── cascade_roi_head.cpython-37.pyc │ │ │ ├── double_roi_head.cpython-37.pyc │ │ │ ├── dynamic_roi_head.cpython-37.pyc │ │ │ ├── grid_roi_head.cpython-37.pyc │ │ │ ├── htc_roi_head.cpython-37.pyc │ │ │ ├── mask_scoring_roi_head.cpython-37.pyc │ │ │ ├── pisa_roi_head.cpython-37.pyc │ │ │ ├── point_rend_roi_head.cpython-37.pyc │ │ │ ├── scnet_roi_head.cpython-37.pyc │ │ │ ├── sparse_roi_head.cpython-37.pyc │ │ │ ├── standard_roi_head.cpython-37.pyc │ │ │ ├── test_mixins.cpython-37.pyc │ │ │ └── trident_roi_head.cpython-37.pyc │ │ ├── base_roi_head.py │ │ ├── bbox_heads │ │ │ ├── .ipynb_checkpoints │ │ │ │ └── bbox_head-checkpoint.py │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── bbox_head.cpython-37.pyc │ │ │ │ ├── convfc_bbox_head.cpython-37.pyc │ │ │ │ ├── dii_head.cpython-37.pyc │ │ │ │ ├── double_bbox_head.cpython-37.pyc │ │ │ │ ├── sabl_head.cpython-37.pyc │ │ │ │ └── scnet_bbox_head.cpython-37.pyc │ │ │ ├── bbox_head.py │ │ │ ├── convfc_bbox_head.py │ │ │ ├── dii_head.py │ │ │ ├── double_bbox_head.py │ │ │ ├── sabl_head.py │ │ │ └── scnet_bbox_head.py │ │ ├── cascade_roi_head.py │ │ ├── double_roi_head.py │ │ ├── dynamic_roi_head.py │ │ ├── grid_roi_head.py │ │ ├── htc_roi_head.py │ │ ├── mask_heads │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── coarse_mask_head.cpython-37.pyc │ │ │ │ ├── fcn_mask_head.cpython-37.pyc │ │ │ │ ├── feature_relay_head.cpython-37.pyc │ │ │ │ ├── fused_semantic_head.cpython-37.pyc │ │ │ │ ├── global_context_head.cpython-37.pyc │ │ │ │ ├── grid_head.cpython-37.pyc │ │ │ │ ├── htc_mask_head.cpython-37.pyc │ │ │ │ ├── mask_point_head.cpython-37.pyc │ │ │ │ ├── maskiou_head.cpython-37.pyc │ │ │ │ ├── scnet_mask_head.cpython-37.pyc │ │ │ │ └── scnet_semantic_head.cpython-37.pyc │ │ │ ├── coarse_mask_head.py │ │ │ ├── fcn_mask_head.py │ │ │ ├── feature_relay_head.py │ │ │ ├── fused_semantic_head.py │ │ │ ├── global_context_head.py │ │ │ ├── grid_head.py │ │ │ ├── htc_mask_head.py │ │ │ ├── mask_point_head.py │ │ │ ├── maskiou_head.py │ │ │ ├── scnet_mask_head.py │ │ │ └── scnet_semantic_head.py │ │ ├── mask_scoring_roi_head.py │ │ ├── pisa_roi_head.py │ │ ├── point_rend_roi_head.py │ │ ├── roi_extractors │ │ │ ├── .ipynb_checkpoints │ │ │ │ ├── base_roi_extractor-checkpoint.py │ │ │ │ ├── generic_roi_extractor-checkpoint.py │ │ │ │ └── single_level_roi_extractor-checkpoint.py │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ ├── base_roi_extractor.cpython-37.pyc │ │ │ │ ├── generic_roi_extractor.cpython-37.pyc │ │ │ │ └── single_level_roi_extractor.cpython-37.pyc │ │ │ ├── base_roi_extractor.py │ │ │ ├── generic_roi_extractor.py │ │ │ └── single_level_roi_extractor.py │ │ ├── scnet_roi_head.py │ │ ├── shared_heads │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-37.pyc │ │ │ │ └── res_layer.cpython-37.pyc │ │ │ └── res_layer.py │ │ ├── sparse_roi_head.py │ │ ├── standard_roi_head.py │ │ ├── test_mixins.py │ │ └── trident_roi_head.py │ └── utils │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── gaussian_target.cpython-37.pyc │ │ ├── positional_encoding.cpython-37.pyc │ │ ├── res_layer.cpython-37.pyc │ │ └── transformer.cpython-37.pyc │ │ ├── builder.py │ │ ├── gaussian_target.py │ │ ├── positional_encoding.py │ │ ├── res_layer.py │ │ └── transformer.py ├── utils │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── collect_env.cpython-37.pyc │ │ ├── contextmanagers.cpython-37.pyc │ │ ├── logger.cpython-37.pyc │ │ └── util_mixins.cpython-37.pyc │ ├── collect_env.py │ ├── contextmanagers.py │ ├── logger.py │ ├── profiling.py │ ├── util_mixins.py │ └── util_random.py └── version.py ├── requirements.txt ├── requirements ├── build.txt ├── docs.txt ├── optional.txt ├── readthedocs.txt ├── runtime.txt └── tests.txt ├── setup.py └── tools ├── .ipynb_checkpoints ├── analyze_logs-checkpoint.py ├── coco_eval-checkpoint.py ├── dist_test-checkpoint.sh ├── slurm_test-checkpoint.sh ├── test-checkpoint.py ├── test_robustness-checkpoint.py ├── train-checkpoint.py ├── train.py-checkpoint.bak ├── visual_data-checkpoint.py ├── visual_test_img-checkpoint.py └── voc_eval-checkpoint.py ├── analysis_tools ├── analyze_logs.py ├── analyze_results.py ├── benchmark.py ├── coco_error_analysis.py ├── eval_metric.py ├── get_flops.py ├── robustness_eval.py └── test_robustness.py ├── analyze_logs.py ├── coco_error_analysis.py ├── coco_eval.py ├── collect_env.py ├── convert_datasets └── pascal_voc.py ├── data_process ├── .ipynb_checkpoints │ ├── generate_test_json-checkpoint.py │ ├── split_data-checkpoint.py │ ├── split_data_clean-checkpoint.py │ └── xml2coco-checkpoint.py ├── data_clean.py ├── generate_test_json.py ├── split_data.py ├── split_data_clean.py └── xml2coco.py ├── dataset_converters ├── cityscapes.py └── pascal_voc.py ├── deployment ├── .ipynb_checkpoints │ └── pytorch2onnx-checkpoint.py ├── onnx2tensorrt.py └── pytorch2onnx.py ├── detectron2pytorch.py ├── dist_test.sh ├── dist_train.sh ├── get_flops.py ├── misc ├── browse_dataset.py └── print_config.py ├── model_converters ├── detectron2pytorch.py ├── publish_model.py ├── regnet2mmdet.py └── upgrade_model_version.py ├── post_process ├── .ipynb_checkpoints │ ├── async_inference-checkpoint.py │ ├── json2submit-checkpoint.py │ ├── test_ensemble-checkpoint.py │ └── test_json-checkpoint.py ├── async_inference.py ├── json2submit.py ├── test_ensemble.py └── test_json.py ├── publish_model.py ├── robustness_eval.py ├── slurm_test.sh ├── slurm_train.sh ├── test.py ├── test_robustness.py ├── train.py ├── train.py.bak ├── train.sh ├── upgrade_model_version.py ├── visual_data.py ├── visual_test_img.py └── voc_eval.py /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Build/Distutils.py: -------------------------------------------------------------------------------- 1 | from Cython.Distutils.build_ext import build_ext 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Build/Tests/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Build/__init__.py: -------------------------------------------------------------------------------- 1 | from .Dependencies import cythonize 2 | from .Distutils import build_ext 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/DebugFlags.py: -------------------------------------------------------------------------------- 1 | # Can be enabled at the command line with --debug-xxx. 2 | 3 | debug_disposal_code = 0 4 | debug_temp_alloc = 0 5 | debug_coercion = 0 6 | 7 | # Write comments into the C code that show where temporary variables 8 | # are allocated and released. 9 | debug_temp_code_comments = 0 10 | 11 | # Write a call trace of the code generation phase into the C code. 12 | debug_trace_code_generation = 0 13 | 14 | # Do not replace exceptions with user-friendly error messages. 15 | debug_no_exception_intercept = 0 16 | 17 | # Print a message each time a new stage in the pipeline is entered. 18 | debug_verbose_pipeline = 0 19 | 20 | # Raise an exception when an error is encountered. 21 | debug_exception_on_error = 0 22 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/FlowControl.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/FlowControl.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/FusedNode.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/FusedNode.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Future.py: -------------------------------------------------------------------------------- 1 | def _get_feature(name): 2 | import __future__ 3 | # fall back to a unique fake object for earlier Python versions or Python 3 4 | return getattr(__future__, name, object()) 5 | 6 | unicode_literals = _get_feature("unicode_literals") 7 | with_statement = _get_feature("with_statement") # dummy 8 | division = _get_feature("division") 9 | print_function = _get_feature("print_function") 10 | absolute_import = _get_feature("absolute_import") 11 | nested_scopes = _get_feature("nested_scopes") # dummy 12 | generators = _get_feature("generators") # dummy 13 | generator_stop = _get_feature("generator_stop") 14 | 15 | del _get_feature 16 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Scanning.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Scanning.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Tests/TestTypes.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | import unittest 4 | 5 | import Cython.Compiler.PyrexTypes as PT 6 | 7 | 8 | class TestMethodDispatcherTransform(unittest.TestCase): 9 | 10 | def test_widest_numeric_type(self): 11 | def assert_widest(type1, type2, widest): 12 | self.assertEqual(widest, PT.widest_numeric_type(type1, type2)) 13 | 14 | assert_widest(PT.c_int_type, PT.c_long_type, PT.c_long_type) 15 | assert_widest(PT.c_double_type, PT.c_long_type, PT.c_double_type) 16 | assert_widest(PT.c_longdouble_type, PT.c_long_type, PT.c_longdouble_type) 17 | 18 | cenum = PT.CEnumType("E", "cenum", typedef_flag=False) 19 | assert_widest(PT.c_int_type, cenum, PT.c_int_type) 20 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Tests/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Version.py: -------------------------------------------------------------------------------- 1 | # for backwards compatibility 2 | 3 | from __future__ import absolute_import 4 | 5 | from .. import __version__ as version 6 | 7 | # For 'generated by' header line in C files. 8 | 9 | watermark = str(version) 10 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Visitor.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/Visitor.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/AnalysedTreeTransforms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/AnalysedTreeTransforms.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Annotate.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Annotate.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/AutoDocTransforms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/AutoDocTransforms.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Buffer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Buffer.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Builtin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Builtin.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Code.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Code.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/CodeGeneration.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/CodeGeneration.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/CythonScope.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/CythonScope.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/DebugFlags.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/DebugFlags.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Errors.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Errors.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ExprNodes.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ExprNodes.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Future.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Future.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Interpreter.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Interpreter.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Lexicon.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Lexicon.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Main.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Main.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/MemoryView.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/MemoryView.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ModuleNode.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ModuleNode.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Naming.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Naming.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Nodes.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Nodes.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Optimize.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Optimize.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Options.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Options.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ParseTreeTransforms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/ParseTreeTransforms.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Parsing.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Parsing.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Pipeline.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Pipeline.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/PyrexTypes.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/PyrexTypes.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Pythran.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Pythran.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/StringEncoding.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/StringEncoding.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Symtab.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Symtab.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TreeFragment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TreeFragment.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TypeInference.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TypeInference.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TypeSlots.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/TypeSlots.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/UtilNodes.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/UtilNodes.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/UtilityCode.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/UtilityCode.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Version.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/Version.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Compiler/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Debugger/Tests/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Debugger/Tests/cfuncs.c: -------------------------------------------------------------------------------- 1 | void 2 | some_c_function(void) 3 | { 4 | int a, b, c; 5 | 6 | a = 1; 7 | b = 2; 8 | } 9 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Debugger/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Debugging.py: -------------------------------------------------------------------------------- 1 | ############################################### 2 | # 3 | # Odds and ends for debugging 4 | # 5 | ############################################### 6 | 7 | def print_call_chain(*args): 8 | import sys 9 | print(" ".join(map(str, args))) 10 | f = sys._getframe(1) 11 | while f: 12 | name = f.f_code.co_name 13 | s = f.f_locals.get('self', None) 14 | if s: 15 | c = getattr(s, "__class__", None) 16 | if c: 17 | name = "%s.%s" % (c.__name__, name) 18 | print("Called from: %s %s" % (name, f.f_lineno)) 19 | f = f.f_back 20 | print("-" * 70) 21 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__init__.py: -------------------------------------------------------------------------------- 1 | from Cython.Distutils.build_ext import build_ext 2 | from Cython.Distutils.extension import Extension 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/build_ext.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/build_ext.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/extension.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/extension.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/old_build_ext.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Distutils/__pycache__/old_build_ext.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_bool.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.bool cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_buffer.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.buffer cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_bytes.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.bytes cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_cobject.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.cobject cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_complex.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.complex cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_dict.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.dict cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_exc.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.exc cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_float.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.float cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_function.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.function cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_getargs.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.getargs cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_instance.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.instance cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_int.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.int cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_iterator.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.iterator cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_list.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.list cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_long.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.long cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_mapping.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.mapping cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_mem.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.mem cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_method.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.method cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_module.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.module cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_number.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.number cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_object.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.object cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_oldbuffer.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.oldbuffer cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_pycapsule.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.pycapsule cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_ref.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.ref cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_sequence.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.sequence cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_set.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.set cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_string.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.string cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_tuple.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.tuple cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_type.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.type cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_unicode.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.unicode cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_version.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.version cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/python_weakref.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from cpython.weakref cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/stdio.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from libc.stdio cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/Deprecated/stdlib.pxd: -------------------------------------------------------------------------------- 1 | # Present for backwards compatibility 2 | from libc.stdlib cimport * 3 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/cpython/ceval.pxd: -------------------------------------------------------------------------------- 1 | 2 | cdef extern from "Python.h": 3 | 4 | void PyEval_InitThreads() 5 | # Initialize and acquire the global interpreter lock. 6 | 7 | int PyEval_ThreadsInitialized() 8 | # Returns a non-zero value if PyEval_InitThreads() has been called. 9 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/cpython/longintrepr.pxd: -------------------------------------------------------------------------------- 1 | # Internals of the "long" type (Python 2) or "int" type (Python 3). 2 | # This is not part of Python's published API. 3 | 4 | cdef extern from "longintrepr.h": 5 | ctypedef unsigned int digit 6 | ctypedef int sdigit # Python >= 2.7 only 7 | 8 | ctypedef class __builtin__.py_long [object PyLongObject]: 9 | cdef digit* ob_digit 10 | 11 | cdef py_long _PyLong_New(Py_ssize_t s) 12 | 13 | cdef long PyLong_SHIFT 14 | cdef digit PyLong_BASE 15 | cdef digit PyLong_MASK 16 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libc/__init__.pxd: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libc/limits.pxd: -------------------------------------------------------------------------------- 1 | # 5.2.4.2.1 Sizes of integer types 2 | 3 | cdef extern from "": 4 | const int CHAR_BIT 5 | const int MB_LEN_MAX 6 | 7 | const char CHAR_MIN 8 | const char CHAR_MAX 9 | 10 | const signed char SCHAR_MIN 11 | const signed char SCHAR_MAX 12 | const unsigned char UCHAR_MAX 13 | 14 | const short SHRT_MIN 15 | const short SHRT_MAX 16 | const unsigned short USHRT_MAX 17 | 18 | const int INT_MIN 19 | const int INT_MAX 20 | const unsigned int UINT_MAX 21 | 22 | const long LONG_MIN 23 | const long LONG_MAX 24 | const unsigned long ULONG_MAX 25 | 26 | const long long LLONG_MIN 27 | const long long LLONG_MAX 28 | const unsigned long long ULLONG_MAX 29 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libc/setjmp.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" nogil: 2 | ctypedef struct jmp_buf: 3 | pass 4 | int setjmp(jmp_buf state) 5 | void longjmp(jmp_buf state, int value) 6 | 7 | ctypedef struct sigjmp_buf: 8 | pass 9 | int sigsetjmp(sigjmp_buf state, int savesigs) 10 | void siglongjmp(sigjmp_buf state, int value) 11 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libc/stddef.pxd: -------------------------------------------------------------------------------- 1 | # 7.17 Common definitions 2 | 3 | cdef extern from "": 4 | 5 | ctypedef signed int ptrdiff_t 6 | 7 | ctypedef unsigned int size_t 8 | 9 | ctypedef int wchar_t 10 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/__init__.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from *: 2 | ctypedef bint bool 3 | ctypedef void* nullptr_t 4 | nullptr_t nullptr 5 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/cast.pxd: -------------------------------------------------------------------------------- 1 | # Defines the standard C++ cast operators. 2 | # 3 | # Due to type restrictions, these are only defined for pointer parameters, 4 | # however that is the only case where they are significantly more interesting 5 | # than the standard C cast operator which can be written "(expression)" in 6 | # Cython. 7 | 8 | cdef extern from * nogil: 9 | cdef T dynamic_cast[T](void *) except + # nullptr may also indicate failure 10 | cdef T static_cast[T](void *) 11 | cdef T reinterpret_cast[T](void *) 12 | cdef T const_cast[T](void *) 13 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/functional.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" namespace "std" nogil: 2 | cdef cppclass function[T]: 3 | function() except + 4 | function(T*) except + 5 | function(function&) except + 6 | function(void*) except + 7 | 8 | function operator=(T*) 9 | function operator=(function&) 10 | function operator=(void*) 11 | function operator=[U](U) 12 | 13 | bint operator bool() 14 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/pair.pxd: -------------------------------------------------------------------------------- 1 | from .utility cimport pair 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/queue.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" namespace "std" nogil: 2 | cdef cppclass queue[T]: 3 | queue() except + 4 | queue(queue&) except + 5 | #queue(Container&) 6 | T& back() 7 | bint empty() 8 | T& front() 9 | void pop() 10 | void push(T&) 11 | size_t size() 12 | # C++11 methods 13 | void swap(queue&) 14 | 15 | cdef cppclass priority_queue[T]: 16 | priority_queue() except + 17 | priority_queue(priority_queue&) except + 18 | #priority_queue(Container&) 19 | bint empty() 20 | void pop() 21 | void push(T&) 22 | size_t size() 23 | T& top() 24 | # C++11 methods 25 | void swap(priority_queue&) 26 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/stack.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" namespace "std" nogil: 2 | cdef cppclass stack[T]: 3 | ctypedef T value_type 4 | stack() except + 5 | stack(stack&) except + 6 | #stack(Container&) 7 | bint empty() 8 | void pop() 9 | void push(T&) 10 | size_t size() 11 | T& top() 12 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/typeindex.pxd: -------------------------------------------------------------------------------- 1 | from libcpp cimport bool 2 | from .typeinfo cimport type_info 3 | 4 | # This class is C++11-only 5 | cdef extern from "" namespace "std" nogil: 6 | cdef cppclass type_index: 7 | type_index(const type_info &) 8 | const char* name() 9 | size_t hash_code() 10 | bool operator==(const type_index &) 11 | bool operator!=(const type_index &) 12 | bool operator<(const type_index &) 13 | bool operator<=(const type_index &) 14 | bool operator>(const type_index &) 15 | bool operator>=(const type_index &) 16 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/libcpp/typeinfo.pxd: -------------------------------------------------------------------------------- 1 | from libcpp cimport bool 2 | 3 | cdef extern from "" namespace "std" nogil: 4 | cdef cppclass type_info: 5 | const char* name() 6 | int before(const type_info&) 7 | bool operator==(const type_info&) 8 | bool operator!=(const type_info&) 9 | # C++11-only 10 | size_t hash_code() 11 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/posix/__init__.pxd: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/posix/dlfcn.pxd: -------------------------------------------------------------------------------- 1 | # POSIX dynamic linking/loading interface. 2 | # http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html 3 | 4 | cdef extern from "" nogil: 5 | void *dlopen(const char *, int) 6 | char *dlerror() 7 | void *dlsym(void *, const char *) 8 | int dlclose(void *) 9 | 10 | enum: 11 | RTLD_LAZY 12 | RTLD_NOW 13 | RTLD_GLOBAL 14 | RTLD_LOCAL 15 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/posix/ioctl.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" nogil: 2 | enum: FIONBIO 3 | 4 | int ioctl(int fd, int request, ...) 5 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/posix/select.pxd: -------------------------------------------------------------------------------- 1 | from .types cimport sigset_t 2 | from .time cimport timeval, timespec 3 | 4 | cdef extern from "" nogil: 5 | ctypedef struct fd_set: 6 | pass 7 | 8 | int FD_SETSIZE 9 | void FD_SET(int, fd_set*) 10 | void FD_CLR(int, fd_set*) 11 | bint FD_ISSET(int, fd_set*) 12 | void FD_ZERO(fd_set*) 13 | 14 | int select(int nfds, fd_set *readfds, fd_set *writefds, 15 | fd_set *exceptfds, const timeval *timeout) 16 | 17 | int pselect(int nfds, fd_set *readfds, fd_set *writefds, 18 | fd_set *exceptfds, const timespec *timeout, 19 | const sigset_t *sigmask) 20 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Includes/posix/strings.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "" nogil: 2 | int bcmp(const void *, const void *, size_t) 3 | void bcopy(const void *, void *, size_t) 4 | void bzero(void *, size_t) 5 | int ffs(int) 6 | char *index(const char *, int) 7 | char *rindex(const char *, int) 8 | int strcasecmp(const char *, const char *) 9 | int strncasecmp(const char *, const char *, size_t) 10 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Actions.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Actions.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Actions.pxd: -------------------------------------------------------------------------------- 1 | 2 | cdef class Action: 3 | cdef perform(self, token_stream, text) 4 | cpdef same_as(self, other) 5 | 6 | cdef class Return(Action): 7 | cdef object value 8 | cdef perform(self, token_stream, text) 9 | cpdef same_as(self, other) 10 | 11 | cdef class Call(Action): 12 | cdef object function 13 | cdef perform(self, token_stream, text) 14 | cpdef same_as(self, other) 15 | 16 | cdef class Begin(Action): 17 | cdef object state_name 18 | cdef perform(self, token_stream, text) 19 | cpdef same_as(self, other) 20 | 21 | cdef class Ignore(Action): 22 | cdef perform(self, token_stream, text) 23 | 24 | cdef class Text(Action): 25 | cdef perform(self, token_stream, text) 26 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Scanners.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Scanners.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/Timing.py: -------------------------------------------------------------------------------- 1 | # 2 | # Get time in platform-dependent way 3 | # 4 | 5 | from __future__ import absolute_import 6 | 7 | import os 8 | from sys import platform, exit, stderr 9 | 10 | if platform == 'mac': 11 | import MacOS 12 | def time(): 13 | return MacOS.GetTicks() / 60.0 14 | timekind = "real" 15 | elif hasattr(os, 'times'): 16 | def time(): 17 | t = os.times() 18 | return t[0] + t[1] 19 | timekind = "cpu" 20 | else: 21 | stderr.write( 22 | "Don't know how to get time on platform %s\n" % repr(platform)) 23 | exit(1) 24 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/DFA.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/DFA.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Errors.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Errors.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Lexicons.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Lexicons.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Machines.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Machines.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Regexps.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Regexps.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Transitions.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/Transitions.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Plex/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Runtime/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Runtime/refnanny.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Runtime/refnanny.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__init__.py: -------------------------------------------------------------------------------- 1 | # The original Tempita implements all of its templating code here. 2 | # Moved it to _tempita.py to make the compilation portable. 3 | 4 | from ._tempita import * 5 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/_looper.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/_looper.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/compat3.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/__pycache__/compat3.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/_tempita.cpython-37m-x86_64-linux-gnu.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tempita/_tempita.cpython-37m-x86_64-linux-gnu.so -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tests/TestCythonUtils.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | from ..Utils import build_hex_version 4 | 5 | class TestCythonUtils(unittest.TestCase): 6 | def test_build_hex_version(self): 7 | self.assertEqual('0x001D00A1', build_hex_version('0.29a1')) 8 | self.assertEqual('0x001D00A1', build_hex_version('0.29a1')) 9 | self.assertEqual('0x001D03C4', build_hex_version('0.29.3rc4')) 10 | self.assertEqual('0x001D00F0', build_hex_version('0.29')) 11 | self.assertEqual('0x040000F0', build_hex_version('4.0')) 12 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Tests/__init__.py: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Utility/Capsule.c: -------------------------------------------------------------------------------- 1 | //////////////// Capsule.proto //////////////// 2 | 3 | /* Todo: wrap the rest of the functionality in similar functions */ 4 | static CYTHON_INLINE PyObject *__pyx_capsule_create(void *p, const char *sig); 5 | 6 | //////////////// Capsule //////////////// 7 | 8 | static CYTHON_INLINE PyObject * 9 | __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig) 10 | { 11 | PyObject *cobj; 12 | 13 | #if PY_VERSION_HEX >= 0x02070000 14 | cobj = PyCapsule_New(p, sig, NULL); 15 | #else 16 | cobj = PyCObject_FromVoidPtr(p, NULL); 17 | #endif 18 | 19 | return cobj; 20 | } 21 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Utility/TestCyUtilityLoader.pyx: -------------------------------------------------------------------------------- 1 | ########## TestCyUtilityLoader ########## 2 | #@requires: OtherUtility 3 | 4 | test {{cy_loader}} impl 5 | 6 | 7 | ########## OtherUtility ########## 8 | req {{cy_loader}} impl 9 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Utility/TestUtilityLoader.c: -------------------------------------------------------------------------------- 1 | ////////// TestUtilityLoader.proto ////////// 2 | test {{loader}} prototype 3 | 4 | ////////// TestUtilityLoader ////////// 5 | //@requires: OtherUtility 6 | test {{loader}} impl 7 | 8 | ////////// OtherUtility.proto ////////// 9 | req {{loader}} proto 10 | 11 | ////////// OtherUtility ////////// 12 | req {{loader}} impl 13 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Utility/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/Utility/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from .Shadow import __version__ 4 | 5 | # Void cython.* directives (for case insensitive operating systems). 6 | from .Shadow import * 7 | 8 | 9 | def load_ipython_extension(ip): 10 | """Load the extension in IPython.""" 11 | from .Build.IpythonMagic import CythonMagics # pylint: disable=cyclic-import 12 | ip.register_magics(CythonMagics) 13 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/CodeWriter.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/CodeWriter.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Debugging.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Debugging.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Shadow.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Shadow.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/StringIOTree.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/StringIOTree.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/Utils.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/Cython/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/EGG-INFO/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.35.1) 3 | Root-Is-Purelib: false 4 | Tag: cp37-cp37m-manylinux1_x86_64 5 | 6 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/EGG-INFO/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | cygdb = Cython.Debugger.Cygdb:main 3 | cython = Cython.Compiler.Main:setuptools_main 4 | cythonize = Cython.Build.Cythonize:main 5 | 6 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/EGG-INFO/top_level.txt: -------------------------------------------------------------------------------- 1 | Cython 2 | cython 3 | pyximport 4 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/__pycache__/cython.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/__pycache__/cython.cpython-37.pyc -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/cython.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # 4 | # Cython -- Main Program, generic 5 | # 6 | 7 | if __name__ == '__main__': 8 | 9 | import os 10 | import sys 11 | 12 | # Make sure we import the right Cython 13 | cythonpath, _ = os.path.split(os.path.realpath(__file__)) 14 | sys.path.insert(0, cythonpath) 15 | 16 | from Cython.Compiler.Main import main 17 | main(command_line = 1) 18 | 19 | else: 20 | # Void cython.* directives. 21 | from Cython.Shadow import * 22 | ## and bring in the __version__ 23 | from Cython import __version__ 24 | from Cython import load_ipython_extension 25 | -------------------------------------------------------------------------------- /.eggs/Cython-0.29.23-py3.7-linux-x86_64.egg/pyximport/__init__.py: -------------------------------------------------------------------------------- 1 | from .pyximport import * 2 | 3 | # replicate docstring 4 | from .pyximport import __doc__ 5 | -------------------------------------------------------------------------------- /.eggs/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. 2 | 3 | This directory caches those eggs to prevent repeated downloads. 4 | 5 | However, it is safe to delete this directory. 6 | 7 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/underwater-object-detection.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 15 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /build/lib/mmdet/apis/__init__.py: -------------------------------------------------------------------------------- 1 | from .inference import (async_inference_detector, inference_detector, 2 | init_detector, show_result_pyplot, adaptive_inference_detector) 3 | from .test import multi_gpu_test, single_gpu_test 4 | from .train import get_root_logger, set_random_seed, train_detector 5 | 6 | __all__ = [ 7 | 'get_root_logger', 'set_random_seed', 'train_detector', 'init_detector', 8 | 'async_inference_detector', 'inference_detector', 'show_result_pyplot', 9 | 'multi_gpu_test', 'single_gpu_test', 'adaptive_inference_detector' 10 | ] 11 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/__init__.py: -------------------------------------------------------------------------------- 1 | from .anchor import * # noqa: F401, F403 2 | from .bbox import * # noqa: F401, F403 3 | from .evaluation import * # noqa: F401, F403 4 | from .export import * # noqa: F401, F403 5 | from .mask import * # noqa: F401, F403 6 | from .post_processing import * # noqa: F401, F403 7 | from .utils import * # noqa: F401, F403 8 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/anchor/__init__.py: -------------------------------------------------------------------------------- 1 | from .anchor_generator import (AnchorGenerator, LegacyAnchorGenerator, 2 | YOLOAnchorGenerator) 3 | from .builder import ANCHOR_GENERATORS, build_anchor_generator 4 | from .point_generator import PointGenerator 5 | from .utils import anchor_inside_flags, calc_region, images_to_levels 6 | 7 | __all__ = [ 8 | 'AnchorGenerator', 'LegacyAnchorGenerator', 'anchor_inside_flags', 9 | 'PointGenerator', 'images_to_levels', 'calc_region', 10 | 'build_anchor_generator', 'ANCHOR_GENERATORS', 'YOLOAnchorGenerator' 11 | ] 12 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/anchor/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | ANCHOR_GENERATORS = Registry('Anchor generator') 4 | 5 | 6 | def build_anchor_generator(cfg, default_args=None): 7 | return build_from_cfg(cfg, ANCHOR_GENERATORS, default_args) 8 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/assigners/__init__.py: -------------------------------------------------------------------------------- 1 | from .approx_max_iou_assigner import ApproxMaxIoUAssigner 2 | from .assign_result import AssignResult 3 | from .atss_assigner import ATSSAssigner 4 | from .base_assigner import BaseAssigner 5 | from .center_region_assigner import CenterRegionAssigner 6 | from .grid_assigner import GridAssigner 7 | from .hungarian_assigner import HungarianAssigner 8 | from .max_iou_assigner import MaxIoUAssigner 9 | from .point_assigner import PointAssigner 10 | from .region_assigner import RegionAssigner 11 | 12 | __all__ = [ 13 | 'BaseAssigner', 'MaxIoUAssigner', 'ApproxMaxIoUAssigner', 'AssignResult', 14 | 'PointAssigner', 'ATSSAssigner', 'CenterRegionAssigner', 'GridAssigner', 15 | 'HungarianAssigner', 'RegionAssigner' 16 | ] 17 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/assigners/base_assigner.py: -------------------------------------------------------------------------------- 1 | from abc import ABCMeta, abstractmethod 2 | 3 | 4 | class BaseAssigner(metaclass=ABCMeta): 5 | """Base assigner that assigns boxes to ground truth boxes.""" 6 | 7 | @abstractmethod 8 | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=None): 9 | """Assign boxes to either a ground truth boxe or a negative boxes.""" 10 | pass 11 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | BBOX_ASSIGNERS = Registry('bbox_assigner') 4 | BBOX_SAMPLERS = Registry('bbox_sampler') 5 | BBOX_CODERS = Registry('bbox_coder') 6 | 7 | 8 | def build_assigner(cfg, **default_args): 9 | """Builder of box assigner.""" 10 | return build_from_cfg(cfg, BBOX_ASSIGNERS, default_args) 11 | 12 | 13 | def build_sampler(cfg, **default_args): 14 | """Builder of box sampler.""" 15 | return build_from_cfg(cfg, BBOX_SAMPLERS, default_args) 16 | 17 | 18 | def build_bbox_coder(cfg, **default_args): 19 | """Builder of box coder.""" 20 | return build_from_cfg(cfg, BBOX_CODERS, default_args) 21 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/coder/__init__.py: -------------------------------------------------------------------------------- 1 | from .base_bbox_coder import BaseBBoxCoder 2 | from .bucketing_bbox_coder import BucketingBBoxCoder 3 | from .delta_xywh_bbox_coder import DeltaXYWHBBoxCoder 4 | from .legacy_delta_xywh_bbox_coder import LegacyDeltaXYWHBBoxCoder 5 | from .pseudo_bbox_coder import PseudoBBoxCoder 6 | from .tblr_bbox_coder import TBLRBBoxCoder 7 | from .yolo_bbox_coder import YOLOBBoxCoder 8 | 9 | __all__ = [ 10 | 'BaseBBoxCoder', 'PseudoBBoxCoder', 'DeltaXYWHBBoxCoder', 11 | 'LegacyDeltaXYWHBBoxCoder', 'TBLRBBoxCoder', 'YOLOBBoxCoder', 12 | 'BucketingBBoxCoder' 13 | ] 14 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/coder/base_bbox_coder.py: -------------------------------------------------------------------------------- 1 | from abc import ABCMeta, abstractmethod 2 | 3 | 4 | class BaseBBoxCoder(metaclass=ABCMeta): 5 | """Base bounding box coder.""" 6 | 7 | def __init__(self, **kwargs): 8 | pass 9 | 10 | @abstractmethod 11 | def encode(self, bboxes, gt_bboxes): 12 | """Encode deltas between bboxes and ground truth boxes.""" 13 | pass 14 | 15 | @abstractmethod 16 | def decode(self, bboxes, bboxes_pred): 17 | """Decode the predicted bboxes according to prediction and base 18 | boxes.""" 19 | pass 20 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/coder/pseudo_bbox_coder.py: -------------------------------------------------------------------------------- 1 | from ..builder import BBOX_CODERS 2 | from .base_bbox_coder import BaseBBoxCoder 3 | 4 | 5 | @BBOX_CODERS.register_module() 6 | class PseudoBBoxCoder(BaseBBoxCoder): 7 | """Pseudo bounding box coder.""" 8 | 9 | def __init__(self, **kwargs): 10 | super(BaseBBoxCoder, self).__init__(**kwargs) 11 | 12 | def encode(self, bboxes, gt_bboxes): 13 | """torch.Tensor: return the given ``bboxes``""" 14 | return gt_bboxes 15 | 16 | def decode(self, bboxes, pred_bboxes): 17 | """torch.Tensor: return the given ``pred_bboxes``""" 18 | return pred_bboxes 19 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/iou_calculators/__init__.py: -------------------------------------------------------------------------------- 1 | from .builder import build_iou_calculator 2 | from .iou2d_calculator import BboxOverlaps2D, bbox_overlaps 3 | 4 | __all__ = ['build_iou_calculator', 'BboxOverlaps2D', 'bbox_overlaps'] 5 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/iou_calculators/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | IOU_CALCULATORS = Registry('IoU calculator') 4 | 5 | 6 | def build_iou_calculator(cfg, default_args=None): 7 | """Builder of IoU calculator.""" 8 | return build_from_cfg(cfg, IOU_CALCULATORS, default_args) 9 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/match_costs/__init__.py: -------------------------------------------------------------------------------- 1 | from .builder import build_match_cost 2 | from .match_cost import BBoxL1Cost, ClassificationCost, FocalLossCost, IoUCost 3 | 4 | __all__ = [ 5 | 'build_match_cost', 'ClassificationCost', 'BBoxL1Cost', 'IoUCost', 6 | 'FocalLossCost' 7 | ] 8 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/match_costs/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | MATCH_COST = Registry('Match Cost') 4 | 5 | 6 | def build_match_cost(cfg, default_args=None): 7 | """Builder of IoU calculator.""" 8 | return build_from_cfg(cfg, MATCH_COST, default_args) 9 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/bbox/samplers/__init__.py: -------------------------------------------------------------------------------- 1 | from .base_sampler import BaseSampler 2 | from .combined_sampler import CombinedSampler 3 | from .instance_balanced_pos_sampler import InstanceBalancedPosSampler 4 | from .iou_balanced_neg_sampler import IoUBalancedNegSampler 5 | from .ohem_sampler import OHEMSampler 6 | from .pseudo_sampler import PseudoSampler 7 | from .random_sampler import RandomSampler 8 | from .sampling_result import SamplingResult 9 | from .score_hlr_sampler import ScoreHLRSampler 10 | 11 | __all__ = [ 12 | 'BaseSampler', 'PseudoSampler', 'RandomSampler', 13 | 'InstanceBalancedPosSampler', 'IoUBalancedNegSampler', 'CombinedSampler', 14 | 'OHEMSampler', 'SamplingResult', 'ScoreHLRSampler' 15 | ] 16 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/export/__init__.py: -------------------------------------------------------------------------------- 1 | from .pytorch2onnx import (build_model_from_cfg, 2 | generate_inputs_and_wrap_model, 3 | preprocess_example_input) 4 | 5 | __all__ = [ 6 | 'build_model_from_cfg', 'generate_inputs_and_wrap_model', 7 | 'preprocess_example_input' 8 | ] 9 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/mask/__init__.py: -------------------------------------------------------------------------------- 1 | from .mask_target import mask_target 2 | from .structures import BaseInstanceMasks, BitmapMasks, PolygonMasks 3 | from .utils import encode_mask_results, split_combined_polys 4 | 5 | __all__ = [ 6 | 'split_combined_polys', 'mask_target', 'BaseInstanceMasks', 'BitmapMasks', 7 | 'PolygonMasks', 'encode_mask_results' 8 | ] 9 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/post_processing/__init__.py: -------------------------------------------------------------------------------- 1 | from .bbox_nms import fast_nms, multiclass_nms 2 | from .merge_augs import (merge_aug_bboxes, merge_aug_masks, 3 | merge_aug_proposals, merge_aug_scores) 4 | 5 | __all__ = [ 6 | 'multiclass_nms', 'merge_aug_proposals', 'merge_aug_bboxes', 7 | 'merge_aug_scores', 'merge_aug_masks', 'fast_nms' 8 | ] 9 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .dist_utils import DistOptimizerHook, allreduce_grads, reduce_mean 2 | from .misc import mask2ndarray, multi_apply, unmap 3 | from .swa_hook import SWAHook 4 | __all__ = [ 5 | 'allreduce_grads', 'DistOptimizerHook', 'reduce_mean', 'multi_apply', 6 | 'unmap', 'mask2ndarray', 'SWAHook' 7 | ] 8 | -------------------------------------------------------------------------------- /build/lib/mmdet/core/visualization/__init__.py: -------------------------------------------------------------------------------- 1 | from .image import (color_val_matplotlib, imshow_det_bboxes, 2 | imshow_gt_det_bboxes) 3 | 4 | __all__ = ['imshow_det_bboxes', 'imshow_gt_det_bboxes', 'color_val_matplotlib'] 5 | -------------------------------------------------------------------------------- /build/lib/mmdet/datasets/deepfashion.py: -------------------------------------------------------------------------------- 1 | from .builder import DATASETS 2 | from .coco import CocoDataset 3 | 4 | 5 | @DATASETS.register_module() 6 | class DeepFashionDataset(CocoDataset): 7 | 8 | CLASSES = ('top', 'skirt', 'leggings', 'dress', 'outer', 'pants', 'bag', 9 | 'neckwear', 'headwear', 'eyeglass', 'belt', 'footwear', 'hair', 10 | 'skin', 'face') 11 | -------------------------------------------------------------------------------- /build/lib/mmdet/datasets/samplers/__init__.py: -------------------------------------------------------------------------------- 1 | from .distributed_sampler import DistributedSampler 2 | from .group_sampler import DistributedGroupSampler, GroupSampler 3 | 4 | __all__ = ['DistributedSampler', 'DistributedGroupSampler', 'GroupSampler'] 5 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/atss.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class ATSS(SingleStageDetector): 7 | """Implementation of `ATSS `_.""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(ATSS, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/fcos.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FCOS(SingleStageDetector): 7 | """Implementation of `FCOS `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FCOS, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/fovea.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FOVEA(SingleStageDetector): 7 | """Implementation of `FoveaBox `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FOVEA, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/fsaf.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FSAF(SingleStageDetector): 7 | """Implementation of `FSAF `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FSAF, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/gfl.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class GFL(SingleStageDetector): 7 | 8 | def __init__(self, 9 | backbone, 10 | neck, 11 | bbox_head, 12 | train_cfg=None, 13 | test_cfg=None, 14 | pretrained=None): 15 | super(GFL, self).__init__(backbone, neck, bbox_head, train_cfg, 16 | test_cfg, pretrained) 17 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/htc.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .cascade_rcnn import CascadeRCNN 3 | 4 | 5 | @DETECTORS.register_module() 6 | class HybridTaskCascade(CascadeRCNN): 7 | """Implementation of `HTC `_""" 8 | 9 | def __init__(self, **kwargs): 10 | super(HybridTaskCascade, self).__init__(**kwargs) 11 | 12 | @property 13 | def with_semantic(self): 14 | """bool: whether the detector has a semantic head""" 15 | return self.roi_head.with_semantic 16 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/nasfcos.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class NASFCOS(SingleStageDetector): 7 | """NAS-FCOS: Fast Neural Architecture Search for Object Detection. 8 | 9 | https://arxiv.org/abs/1906.0442 10 | """ 11 | 12 | def __init__(self, 13 | backbone, 14 | neck, 15 | bbox_head, 16 | train_cfg=None, 17 | test_cfg=None, 18 | pretrained=None): 19 | super(NASFCOS, self).__init__(backbone, neck, bbox_head, train_cfg, 20 | test_cfg, pretrained) 21 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/paa.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class PAA(SingleStageDetector): 7 | """Implementation of `PAA `_.""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(PAA, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/retinanet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class RetinaNet(SingleStageDetector): 7 | """Implementation of `RetinaNet `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(RetinaNet, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/scnet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .cascade_rcnn import CascadeRCNN 3 | 4 | 5 | @DETECTORS.register_module() 6 | class SCNet(CascadeRCNN): 7 | """Implementation of `SCNet `_""" 8 | 9 | def __init__(self, **kwargs): 10 | super(SCNet, self).__init__(**kwargs) 11 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/vfnet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class VFNet(SingleStageDetector): 7 | """Implementation of `VarifocalNet 8 | (VFNet).`_""" 9 | 10 | def __init__(self, 11 | backbone, 12 | neck, 13 | bbox_head, 14 | train_cfg=None, 15 | test_cfg=None, 16 | pretrained=None): 17 | super(VFNet, self).__init__(backbone, neck, bbox_head, train_cfg, 18 | test_cfg, pretrained) 19 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/detectors/yolo.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019 Western Digital Corporation or its affiliates. 2 | 3 | from ..builder import DETECTORS 4 | from .single_stage import SingleStageDetector 5 | 6 | 7 | @DETECTORS.register_module() 8 | class YOLOV3(SingleStageDetector): 9 | 10 | def __init__(self, 11 | backbone, 12 | neck, 13 | bbox_head, 14 | train_cfg=None, 15 | test_cfg=None, 16 | pretrained=None): 17 | super(YOLOV3, self).__init__(backbone, neck, bbox_head, train_cfg, 18 | test_cfg, pretrained) 19 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/necks/__init__.py: -------------------------------------------------------------------------------- 1 | from .bfp import BFP 2 | from .channel_mapper import ChannelMapper 3 | from .fpg import FPG 4 | from .fpn import FPN 5 | from .fpn_carafe import FPN_CARAFE 6 | from .hrfpn import HRFPN 7 | from .nas_fpn import NASFPN 8 | from .nasfcos_fpn import NASFCOS_FPN 9 | from .pafpn import PAFPN 10 | from .rfp import RFP 11 | from .yolo_neck import YOLOV3Neck 12 | from .ssd_neck import SSDNECK 13 | from .ssd_neck import SSDNECK512 14 | from .acfpn import ACFPN 15 | 16 | __all__ = [ 17 | 'FPN', 'BFP', 'ChannelMapper', 'HRFPN', 'NASFPN', 'FPN_CARAFE', 'PAFPN', 18 | 'NASFCOS_FPN', 'RFP', 'YOLOV3Neck', 'FPG', 'SSDNECK', 'SSDNECK512', 'ACFPN' 19 | ] 20 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/roi_heads/bbox_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .bbox_head import BBoxHead 2 | from .convfc_bbox_head import (ConvFCBBoxHead, Shared2FCBBoxHead, 3 | Shared4Conv1FCBBoxHead) 4 | from .dii_head import DIIHead 5 | from .double_bbox_head import DoubleConvFCBBoxHead 6 | from .sabl_head import SABLHead 7 | from .scnet_bbox_head import SCNetBBoxHead 8 | 9 | __all__ = [ 10 | 'BBoxHead', 'ConvFCBBoxHead', 'Shared2FCBBoxHead', 11 | 'Shared4Conv1FCBBoxHead', 'DoubleConvFCBBoxHead', 'SABLHead', 'DIIHead', 12 | 'SCNetBBoxHead' 13 | ] 14 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/roi_heads/mask_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .coarse_mask_head import CoarseMaskHead 2 | from .fcn_mask_head import FCNMaskHead 3 | from .feature_relay_head import FeatureRelayHead 4 | from .fused_semantic_head import FusedSemanticHead 5 | from .global_context_head import GlobalContextHead 6 | from .grid_head import GridHead 7 | from .htc_mask_head import HTCMaskHead 8 | from .mask_point_head import MaskPointHead 9 | from .maskiou_head import MaskIoUHead 10 | from .scnet_mask_head import SCNetMaskHead 11 | from .scnet_semantic_head import SCNetSemanticHead 12 | 13 | __all__ = [ 14 | 'FCNMaskHead', 'HTCMaskHead', 'FusedSemanticHead', 'GridHead', 15 | 'MaskIoUHead', 'CoarseMaskHead', 'MaskPointHead', 'SCNetMaskHead', 16 | 'SCNetSemanticHead', 'GlobalContextHead', 'FeatureRelayHead' 17 | ] 18 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/roi_heads/roi_extractors/__init__.py: -------------------------------------------------------------------------------- 1 | from .generic_roi_extractor import GenericRoIExtractor 2 | from .single_level_roi_extractor import SingleRoIExtractor 3 | 4 | __all__ = [ 5 | 'SingleRoIExtractor', 6 | 'GenericRoIExtractor', 7 | ] 8 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/roi_heads/shared_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .res_layer import ResLayer 2 | 3 | __all__ = ['ResLayer'] 4 | -------------------------------------------------------------------------------- /build/lib/mmdet/models/utils/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | TRANSFORMER = Registry('Transformer') 4 | POSITIONAL_ENCODING = Registry('Position encoding') 5 | 6 | 7 | def build_transformer(cfg, default_args=None): 8 | """Builder for Transformer.""" 9 | return build_from_cfg(cfg, TRANSFORMER, default_args) 10 | 11 | 12 | def build_positional_encoding(cfg, default_args=None): 13 | """Builder for Position Encoding.""" 14 | return build_from_cfg(cfg, POSITIONAL_ENCODING, default_args) 15 | -------------------------------------------------------------------------------- /build/lib/mmdet/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .collect_env import collect_env 2 | from .logger import get_root_logger 3 | 4 | __all__ = ['get_root_logger', 'collect_env'] 5 | -------------------------------------------------------------------------------- /build/lib/mmdet/utils/collect_env.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import collect_env as collect_base_env 2 | from mmcv.utils import get_git_hash 3 | 4 | import mmdet 5 | 6 | 7 | def collect_env(): 8 | """Collect the information of the running environments.""" 9 | env_info = collect_base_env() 10 | env_info['MMDetection'] = mmdet.__version__ + '+' + get_git_hash()[:7] 11 | return env_info 12 | 13 | 14 | if __name__ == '__main__': 15 | for name, val in collect_env().items(): 16 | print(f'{name}: {val}') 17 | -------------------------------------------------------------------------------- /build/lib/mmdet/utils/logger.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | from mmcv.utils import get_logger 4 | 5 | 6 | def get_root_logger(log_file=None, log_level=logging.INFO): 7 | """Get root logger. 8 | 9 | Args: 10 | log_file (str, optional): File path of log. Defaults to None. 11 | log_level (int, optional): The level of logger. 12 | Defaults to logging.INFO. 13 | 14 | Returns: 15 | :obj:`logging.Logger`: The obtained logger 16 | """ 17 | logger = get_logger(name='mmdet', log_file=log_file, log_level=log_level) 18 | 19 | return logger 20 | -------------------------------------------------------------------------------- /build/lib/mmdet/version.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Open-MMLab. All rights reserved. 2 | 3 | __version__ = '2.10.0' 4 | short_version = __version__ 5 | 6 | 7 | def parse_version_info(version_str): 8 | version_info = [] 9 | for x in version_str.split('.'): 10 | if x.isdigit(): 11 | version_info.append(int(x)) 12 | elif x.find('rc') != -1: 13 | patch_version = x.split('rc') 14 | version_info.append(int(patch_version[0])) 15 | version_info.append(f'rc{patch_version[1]}') 16 | return tuple(version_info) 17 | 18 | 19 | version_info = parse_version_info(__version__) 20 | -------------------------------------------------------------------------------- /dist/mmdet-2.10.0-py3.7.egg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/dist/mmdet-2.10.0-py3.7.egg -------------------------------------------------------------------------------- /mmdet.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /mmdet.egg-info/not-zip-safe: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /mmdet.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | mmdet 2 | -------------------------------------------------------------------------------- /mmdet/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/__pycache__/version.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/__pycache__/version.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/apis/.ipynb_checkpoints/__init__-checkpoint.py: -------------------------------------------------------------------------------- 1 | from .inference import (async_inference_detector, inference_detector, 2 | init_detector, show_result_pyplot, adaptive_inference_detector) 3 | from .test import multi_gpu_test, single_gpu_test 4 | from .train import get_root_logger, set_random_seed, train_detector 5 | 6 | __all__ = [ 7 | 'get_root_logger', 'set_random_seed', 'train_detector', 'init_detector', 8 | 'async_inference_detector', 'inference_detector', 'show_result_pyplot', 9 | 'multi_gpu_test', 'single_gpu_test', 'adaptive_inference_detector' 10 | ] 11 | -------------------------------------------------------------------------------- /mmdet/apis/__init__.py: -------------------------------------------------------------------------------- 1 | from .inference import (async_inference_detector, inference_detector, 2 | init_detector, show_result_pyplot, adaptive_inference_detector) 3 | from .test import multi_gpu_test, single_gpu_test 4 | from .train import get_root_logger, set_random_seed, train_detector 5 | 6 | __all__ = [ 7 | 'get_root_logger', 'set_random_seed', 'train_detector', 'init_detector', 8 | 'async_inference_detector', 'inference_detector', 'show_result_pyplot', 9 | 'multi_gpu_test', 'single_gpu_test', 'adaptive_inference_detector' 10 | ] 11 | -------------------------------------------------------------------------------- /mmdet/apis/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/apis/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/apis/__pycache__/inference.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/apis/__pycache__/inference.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/apis/__pycache__/test.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/apis/__pycache__/test.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/apis/__pycache__/train.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/apis/__pycache__/train.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/.ipynb_checkpoints/__init__-checkpoint.py: -------------------------------------------------------------------------------- 1 | from .anchor import * # noqa: F401, F403 2 | from .bbox import * # noqa: F401, F403 3 | from .evaluation import * # noqa: F401, F403 4 | from .export import * # noqa: F401, F403 5 | from .mask import * # noqa: F401, F403 6 | from .post_processing import * # noqa: F401, F403 7 | from .utils import * # noqa: F401, F403 8 | -------------------------------------------------------------------------------- /mmdet/core/__init__.py: -------------------------------------------------------------------------------- 1 | from .anchor import * # noqa: F401, F403 2 | from .bbox import * # noqa: F401, F403 3 | from .evaluation import * # noqa: F401, F403 4 | from .export import * # noqa: F401, F403 5 | from .mask import * # noqa: F401, F403 6 | from .post_processing import * # noqa: F401, F403 7 | from .utils import * # noqa: F401, F403 8 | -------------------------------------------------------------------------------- /mmdet/core/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/.ipynb_checkpoints/builder-checkpoint.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | ANCHOR_GENERATORS = Registry('Anchor generator') 4 | 5 | 6 | def build_anchor_generator(cfg, default_args=None): 7 | return build_from_cfg(cfg, ANCHOR_GENERATORS, default_args) 8 | -------------------------------------------------------------------------------- /mmdet/core/anchor/__init__.py: -------------------------------------------------------------------------------- 1 | from .anchor_generator import (AnchorGenerator, LegacyAnchorGenerator, 2 | YOLOAnchorGenerator) 3 | from .builder import ANCHOR_GENERATORS, build_anchor_generator 4 | from .point_generator import PointGenerator 5 | from .utils import anchor_inside_flags, calc_region, images_to_levels 6 | 7 | __all__ = [ 8 | 'AnchorGenerator', 'LegacyAnchorGenerator', 'anchor_inside_flags', 9 | 'PointGenerator', 'images_to_levels', 'calc_region', 10 | 'build_anchor_generator', 'ANCHOR_GENERATORS', 'YOLOAnchorGenerator' 11 | ] 12 | -------------------------------------------------------------------------------- /mmdet/core/anchor/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/anchor/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/__pycache__/anchor_generator.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/anchor/__pycache__/anchor_generator.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/anchor/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/__pycache__/point_generator.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/anchor/__pycache__/point_generator.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/anchor/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/anchor/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | ANCHOR_GENERATORS = Registry('Anchor generator') 4 | 5 | 6 | def build_anchor_generator(cfg, default_args=None): 7 | return build_from_cfg(cfg, ANCHOR_GENERATORS, default_args) 8 | -------------------------------------------------------------------------------- /mmdet/core/bbox/.ipynb_checkpoints/builder-checkpoint.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | BBOX_ASSIGNERS = Registry('bbox_assigner') 4 | BBOX_SAMPLERS = Registry('bbox_sampler') 5 | BBOX_CODERS = Registry('bbox_coder') 6 | 7 | 8 | def build_assigner(cfg, **default_args): 9 | """Builder of box assigner.""" 10 | return build_from_cfg(cfg, BBOX_ASSIGNERS, default_args) 11 | 12 | 13 | def build_sampler(cfg, **default_args): 14 | """Builder of box sampler.""" 15 | return build_from_cfg(cfg, BBOX_SAMPLERS, default_args) 16 | 17 | 18 | def build_bbox_coder(cfg, **default_args): 19 | """Builder of box coder.""" 20 | return build_from_cfg(cfg, BBOX_CODERS, default_args) 21 | -------------------------------------------------------------------------------- /mmdet/core/bbox/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/__pycache__/transforms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/__pycache__/transforms.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__init__.py: -------------------------------------------------------------------------------- 1 | from .approx_max_iou_assigner import ApproxMaxIoUAssigner 2 | from .assign_result import AssignResult 3 | from .atss_assigner import ATSSAssigner 4 | from .base_assigner import BaseAssigner 5 | from .center_region_assigner import CenterRegionAssigner 6 | from .grid_assigner import GridAssigner 7 | from .hungarian_assigner import HungarianAssigner 8 | from .max_iou_assigner import MaxIoUAssigner 9 | from .point_assigner import PointAssigner 10 | from .region_assigner import RegionAssigner 11 | 12 | __all__ = [ 13 | 'BaseAssigner', 'MaxIoUAssigner', 'ApproxMaxIoUAssigner', 'AssignResult', 14 | 'PointAssigner', 'ATSSAssigner', 'CenterRegionAssigner', 'GridAssigner', 15 | 'HungarianAssigner', 'RegionAssigner' 16 | ] 17 | -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/approx_max_iou_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/approx_max_iou_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/assign_result.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/assign_result.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/atss_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/atss_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/base_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/base_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/center_region_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/center_region_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/grid_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/grid_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/hungarian_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/hungarian_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/max_iou_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/max_iou_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/point_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/point_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/__pycache__/region_assigner.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/assigners/__pycache__/region_assigner.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/assigners/base_assigner.py: -------------------------------------------------------------------------------- 1 | from abc import ABCMeta, abstractmethod 2 | 3 | 4 | class BaseAssigner(metaclass=ABCMeta): 5 | """Base assigner that assigns boxes to ground truth boxes.""" 6 | 7 | @abstractmethod 8 | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=None): 9 | """Assign boxes to either a ground truth boxe or a negative boxes.""" 10 | pass 11 | -------------------------------------------------------------------------------- /mmdet/core/bbox/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | BBOX_ASSIGNERS = Registry('bbox_assigner') 4 | BBOX_SAMPLERS = Registry('bbox_sampler') 5 | BBOX_CODERS = Registry('bbox_coder') 6 | 7 | 8 | def build_assigner(cfg, **default_args): 9 | """Builder of box assigner.""" 10 | return build_from_cfg(cfg, BBOX_ASSIGNERS, default_args) 11 | 12 | 13 | def build_sampler(cfg, **default_args): 14 | """Builder of box sampler.""" 15 | return build_from_cfg(cfg, BBOX_SAMPLERS, default_args) 16 | 17 | 18 | def build_bbox_coder(cfg, **default_args): 19 | """Builder of box coder.""" 20 | return build_from_cfg(cfg, BBOX_CODERS, default_args) 21 | -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__init__.py: -------------------------------------------------------------------------------- 1 | from .base_bbox_coder import BaseBBoxCoder 2 | from .bucketing_bbox_coder import BucketingBBoxCoder 3 | from .delta_xywh_bbox_coder import DeltaXYWHBBoxCoder 4 | from .legacy_delta_xywh_bbox_coder import LegacyDeltaXYWHBBoxCoder 5 | from .pseudo_bbox_coder import PseudoBBoxCoder 6 | from .tblr_bbox_coder import TBLRBBoxCoder 7 | from .yolo_bbox_coder import YOLOBBoxCoder 8 | 9 | __all__ = [ 10 | 'BaseBBoxCoder', 'PseudoBBoxCoder', 'DeltaXYWHBBoxCoder', 11 | 'LegacyDeltaXYWHBBoxCoder', 'TBLRBBoxCoder', 'YOLOBBoxCoder', 12 | 'BucketingBBoxCoder' 13 | ] 14 | -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/base_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/base_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/bucketing_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/bucketing_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/delta_xywh_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/delta_xywh_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/legacy_delta_xywh_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/legacy_delta_xywh_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/pseudo_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/pseudo_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/tblr_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/tblr_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/__pycache__/yolo_bbox_coder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/coder/__pycache__/yolo_bbox_coder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/base_bbox_coder.py: -------------------------------------------------------------------------------- 1 | from abc import ABCMeta, abstractmethod 2 | 3 | 4 | class BaseBBoxCoder(metaclass=ABCMeta): 5 | """Base bounding box coder.""" 6 | 7 | def __init__(self, **kwargs): 8 | pass 9 | 10 | @abstractmethod 11 | def encode(self, bboxes, gt_bboxes): 12 | """Encode deltas between bboxes and ground truth boxes.""" 13 | pass 14 | 15 | @abstractmethod 16 | def decode(self, bboxes, bboxes_pred): 17 | """Decode the predicted bboxes according to prediction and base 18 | boxes.""" 19 | pass 20 | -------------------------------------------------------------------------------- /mmdet/core/bbox/coder/pseudo_bbox_coder.py: -------------------------------------------------------------------------------- 1 | from ..builder import BBOX_CODERS 2 | from .base_bbox_coder import BaseBBoxCoder 3 | 4 | 5 | @BBOX_CODERS.register_module() 6 | class PseudoBBoxCoder(BaseBBoxCoder): 7 | """Pseudo bounding box coder.""" 8 | 9 | def __init__(self, **kwargs): 10 | super(BaseBBoxCoder, self).__init__(**kwargs) 11 | 12 | def encode(self, bboxes, gt_bboxes): 13 | """torch.Tensor: return the given ``bboxes``""" 14 | return gt_bboxes 15 | 16 | def decode(self, bboxes, pred_bboxes): 17 | """torch.Tensor: return the given ``pred_bboxes``""" 18 | return pred_bboxes 19 | -------------------------------------------------------------------------------- /mmdet/core/bbox/iou_calculators/__init__.py: -------------------------------------------------------------------------------- 1 | from .builder import build_iou_calculator 2 | from .iou2d_calculator import BboxOverlaps2D, bbox_overlaps 3 | 4 | __all__ = ['build_iou_calculator', 'BboxOverlaps2D', 'bbox_overlaps'] 5 | -------------------------------------------------------------------------------- /mmdet/core/bbox/iou_calculators/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/iou_calculators/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/iou_calculators/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/iou_calculators/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/iou_calculators/__pycache__/iou2d_calculator.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/iou_calculators/__pycache__/iou2d_calculator.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/iou_calculators/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | IOU_CALCULATORS = Registry('IoU calculator') 4 | 5 | 6 | def build_iou_calculator(cfg, default_args=None): 7 | """Builder of IoU calculator.""" 8 | return build_from_cfg(cfg, IOU_CALCULATORS, default_args) 9 | -------------------------------------------------------------------------------- /mmdet/core/bbox/match_costs/__init__.py: -------------------------------------------------------------------------------- 1 | from .builder import build_match_cost 2 | from .match_cost import BBoxL1Cost, ClassificationCost, FocalLossCost, IoUCost 3 | 4 | __all__ = [ 5 | 'build_match_cost', 'ClassificationCost', 'BBoxL1Cost', 'IoUCost', 6 | 'FocalLossCost' 7 | ] 8 | -------------------------------------------------------------------------------- /mmdet/core/bbox/match_costs/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/match_costs/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/match_costs/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/match_costs/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/match_costs/__pycache__/match_cost.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/match_costs/__pycache__/match_cost.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/match_costs/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | MATCH_COST = Registry('Match Cost') 4 | 5 | 6 | def build_match_cost(cfg, default_args=None): 7 | """Builder of IoU calculator.""" 8 | return build_from_cfg(cfg, MATCH_COST, default_args) 9 | -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__init__.py: -------------------------------------------------------------------------------- 1 | from .base_sampler import BaseSampler 2 | from .combined_sampler import CombinedSampler 3 | from .instance_balanced_pos_sampler import InstanceBalancedPosSampler 4 | from .iou_balanced_neg_sampler import IoUBalancedNegSampler 5 | from .ohem_sampler import OHEMSampler 6 | from .pseudo_sampler import PseudoSampler 7 | from .random_sampler import RandomSampler 8 | from .sampling_result import SamplingResult 9 | from .score_hlr_sampler import ScoreHLRSampler 10 | 11 | __all__ = [ 12 | 'BaseSampler', 'PseudoSampler', 'RandomSampler', 13 | 'InstanceBalancedPosSampler', 'IoUBalancedNegSampler', 'CombinedSampler', 14 | 'OHEMSampler', 'SamplingResult', 'ScoreHLRSampler' 15 | ] 16 | -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/base_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/base_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/combined_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/combined_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/instance_balanced_pos_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/instance_balanced_pos_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/iou_balanced_neg_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/iou_balanced_neg_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/ohem_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/ohem_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/pseudo_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/pseudo_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/random_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/random_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/sampling_result.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/sampling_result.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/__pycache__/score_hlr_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/bbox/samplers/__pycache__/score_hlr_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/bbox/samplers/combined_sampler.py: -------------------------------------------------------------------------------- 1 | from ..builder import BBOX_SAMPLERS, build_sampler 2 | from .base_sampler import BaseSampler 3 | 4 | 5 | @BBOX_SAMPLERS.register_module() 6 | class CombinedSampler(BaseSampler): 7 | """A sampler that combines positive sampler and negative sampler.""" 8 | 9 | def __init__(self, pos_sampler, neg_sampler, **kwargs): 10 | super(CombinedSampler, self).__init__(**kwargs) 11 | self.pos_sampler = build_sampler(pos_sampler, **kwargs) 12 | self.neg_sampler = build_sampler(neg_sampler, **kwargs) 13 | 14 | def _sample_pos(self, **kwargs): 15 | """Sample positive samples.""" 16 | raise NotImplementedError 17 | 18 | def _sample_neg(self, **kwargs): 19 | """Sample negative samples.""" 20 | raise NotImplementedError 21 | -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/bbox_overlaps.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/bbox_overlaps.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/class_names.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/class_names.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/eval_hooks.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/eval_hooks.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/mean_ap.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/mean_ap.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/evaluation/__pycache__/recall.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/evaluation/__pycache__/recall.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/export/__init__.py: -------------------------------------------------------------------------------- 1 | from .pytorch2onnx import (build_model_from_cfg, 2 | generate_inputs_and_wrap_model, 3 | preprocess_example_input) 4 | 5 | __all__ = [ 6 | 'build_model_from_cfg', 'generate_inputs_and_wrap_model', 7 | 'preprocess_example_input' 8 | ] 9 | -------------------------------------------------------------------------------- /mmdet/core/export/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/export/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/export/__pycache__/pytorch2onnx.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/export/__pycache__/pytorch2onnx.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/mask/__init__.py: -------------------------------------------------------------------------------- 1 | from .mask_target import mask_target 2 | from .structures import BaseInstanceMasks, BitmapMasks, PolygonMasks 3 | from .utils import encode_mask_results, split_combined_polys 4 | 5 | __all__ = [ 6 | 'split_combined_polys', 'mask_target', 'BaseInstanceMasks', 'BitmapMasks', 7 | 'PolygonMasks', 'encode_mask_results' 8 | ] 9 | -------------------------------------------------------------------------------- /mmdet/core/mask/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/mask/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/mask/__pycache__/mask_target.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/mask/__pycache__/mask_target.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/mask/__pycache__/structures.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/mask/__pycache__/structures.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/mask/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/mask/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/post_processing/__init__.py: -------------------------------------------------------------------------------- 1 | from .bbox_nms import fast_nms, multiclass_nms 2 | from .merge_augs import (merge_aug_bboxes, merge_aug_masks, 3 | merge_aug_proposals, merge_aug_scores) 4 | 5 | __all__ = [ 6 | 'multiclass_nms', 'merge_aug_proposals', 'merge_aug_bboxes', 7 | 'merge_aug_scores', 'merge_aug_masks', 'fast_nms' 8 | ] 9 | -------------------------------------------------------------------------------- /mmdet/core/post_processing/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/post_processing/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/post_processing/__pycache__/bbox_nms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/post_processing/__pycache__/bbox_nms.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/post_processing/__pycache__/merge_augs.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/post_processing/__pycache__/merge_augs.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/utils/.ipynb_checkpoints/__init__-checkpoint.py: -------------------------------------------------------------------------------- 1 | from .dist_utils import DistOptimizerHook, allreduce_grads, reduce_mean 2 | from .misc import mask2ndarray, multi_apply, unmap 3 | from .swa_hook import SWAHook 4 | __all__ = [ 5 | 'allreduce_grads', 'DistOptimizerHook', 'reduce_mean', 'multi_apply', 6 | 'unmap', 'mask2ndarray', 'SWAHook' 7 | ] 8 | -------------------------------------------------------------------------------- /mmdet/core/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .dist_utils import DistOptimizerHook, allreduce_grads, reduce_mean 2 | from .misc import mask2ndarray, multi_apply, unmap 3 | from .swa_hook import SWAHook 4 | __all__ = [ 5 | 'allreduce_grads', 'DistOptimizerHook', 'reduce_mean', 'multi_apply', 6 | 'unmap', 'mask2ndarray', 'SWAHook' 7 | ] 8 | -------------------------------------------------------------------------------- /mmdet/core/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/utils/__pycache__/dist_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/utils/__pycache__/dist_utils.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/utils/__pycache__/misc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/utils/__pycache__/misc.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/visualization/__init__.py: -------------------------------------------------------------------------------- 1 | from .image import (color_val_matplotlib, imshow_det_bboxes, 2 | imshow_gt_det_bboxes) 3 | 4 | __all__ = ['imshow_det_bboxes', 'imshow_gt_det_bboxes', 'color_val_matplotlib'] 5 | -------------------------------------------------------------------------------- /mmdet/core/visualization/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/visualization/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/core/visualization/__pycache__/image.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/core/visualization/__pycache__/image.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/cityscapes.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/cityscapes.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/coco.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/coco.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/custom.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/custom.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/dataset_wrappers.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/dataset_wrappers.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/deepfashion.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/deepfashion.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/lvis.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/lvis.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/underwater.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/underwater.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/voc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/voc.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/wider_face.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/wider_face.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/__pycache__/xml_style.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/__pycache__/xml_style.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/deepfashion.py: -------------------------------------------------------------------------------- 1 | from .builder import DATASETS 2 | from .coco import CocoDataset 3 | 4 | 5 | @DATASETS.register_module() 6 | class DeepFashionDataset(CocoDataset): 7 | 8 | CLASSES = ('top', 'skirt', 'leggings', 'dress', 'outer', 'pants', 'bag', 9 | 'neckwear', 'headwear', 'eyeglass', 'belt', 'footwear', 'hair', 10 | 'skin', 'face') 11 | -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/auto_augment.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/auto_augment.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/compose.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/compose.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/formating.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/formating.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/instaboost.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/instaboost.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/loading.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/loading.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/test_time_aug.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/test_time_aug.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/pipelines/__pycache__/transforms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/pipelines/__pycache__/transforms.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/samplers/__init__.py: -------------------------------------------------------------------------------- 1 | from .distributed_sampler import DistributedSampler 2 | from .group_sampler import DistributedGroupSampler, GroupSampler 3 | 4 | __all__ = ['DistributedSampler', 'DistributedGroupSampler', 'GroupSampler'] 5 | -------------------------------------------------------------------------------- /mmdet/datasets/samplers/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/samplers/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/samplers/__pycache__/distributed_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/samplers/__pycache__/distributed_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/datasets/samplers/__pycache__/group_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/datasets/samplers/__pycache__/group_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/base_backbone.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/base_backbone.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/darknet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/darknet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/detectors_resnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/detectors_resnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/detectors_resnext.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/detectors_resnext.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/hourglass.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/hourglass.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/hrnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/hrnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/regnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/regnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/res2net.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/res2net.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/resnest.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/resnest.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/resnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/resnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/resnext.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/resnext.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/ssd_res50.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/ssd_res50.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/ssd_vgg.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/ssd_vgg.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/trident_resnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/trident_resnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/backbones/__pycache__/vgg.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/backbones/__pycache__/vgg.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/.txt -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/anchor_free_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/anchor_free_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/anchor_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/anchor_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/atss_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/atss_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/base_dense_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/base_dense_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/cascade_rpn_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/cascade_rpn_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/centripetal_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/centripetal_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/corner_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/corner_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/dense_test_mixins.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/dense_test_mixins.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/embedding_rpn_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/embedding_rpn_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/fcos_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/fcos_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/fovea_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/fovea_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/free_anchor_retina_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/free_anchor_retina_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/fsaf_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/fsaf_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/ga_retina_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/ga_retina_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/ga_rpn_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/ga_rpn_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/gfl_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/gfl_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/guided_anchor_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/guided_anchor_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/nasfcos_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/nasfcos_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/paa_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/paa_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/pisa_retinanet_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/pisa_retinanet_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/pisa_ssd_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/pisa_ssd_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/reppoints_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/reppoints_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/retina_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/retina_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/retina_sepbn_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/retina_sepbn_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/rpn_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/rpn_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/rpn_test_mixin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/rpn_test_mixin.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/sabl_retina_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/sabl_retina_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/ssd_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/ssd_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/transformer_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/transformer_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/vfnet_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/vfnet_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/yolact_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/yolact_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/dense_heads/__pycache__/yolo_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/dense_heads/__pycache__/yolo_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/.ipynb_checkpoints/atss-checkpoint.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class ATSS(SingleStageDetector): 7 | """Implementation of `ATSS `_.""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(ATSS, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/.ipynb_checkpoints/vfnet-checkpoint.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class VFNet(SingleStageDetector): 7 | """Implementation of `VarifocalNet 8 | (VFNet).`_""" 9 | 10 | def __init__(self, 11 | backbone, 12 | neck, 13 | bbox_head, 14 | train_cfg=None, 15 | test_cfg=None, 16 | pretrained=None): 17 | super(VFNet, self).__init__(backbone, neck, bbox_head, train_cfg, 18 | test_cfg, pretrained) 19 | -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/atss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/atss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/base.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/cascade_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/cascade_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/cornernet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/cornernet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/detr.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/detr.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/fast_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/fast_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/faster_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/faster_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/fcos.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/fcos.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/fovea.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/fovea.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/fsaf.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/fsaf.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/gfl.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/gfl.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/grid_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/grid_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/htc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/htc.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/mask_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/mask_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/mask_scoring_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/mask_scoring_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/nasfcos.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/nasfcos.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/paa.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/paa.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/point_rend.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/point_rend.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/reppoints_detector.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/reppoints_detector.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/retinanet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/retinanet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/rpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/rpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/scnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/scnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/scnet.cpython-37.pyc.140471741611440: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/scnet.cpython-37.pyc.140471741611440 -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/single_stage.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/single_stage.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/sparse_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/sparse_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/trident_faster_rcnn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/trident_faster_rcnn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/two_stage.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/two_stage.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/vfnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/vfnet.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/yolact.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/yolact.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/__pycache__/yolo.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/detectors/__pycache__/yolo.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/detectors/atss.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class ATSS(SingleStageDetector): 7 | """Implementation of `ATSS `_.""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(ATSS, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/fcos.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FCOS(SingleStageDetector): 7 | """Implementation of `FCOS `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FCOS, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/fovea.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FOVEA(SingleStageDetector): 7 | """Implementation of `FoveaBox `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FOVEA, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/fsaf.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class FSAF(SingleStageDetector): 7 | """Implementation of `FSAF `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(FSAF, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/gfl.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class GFL(SingleStageDetector): 7 | 8 | def __init__(self, 9 | backbone, 10 | neck, 11 | bbox_head, 12 | train_cfg=None, 13 | test_cfg=None, 14 | pretrained=None): 15 | super(GFL, self).__init__(backbone, neck, bbox_head, train_cfg, 16 | test_cfg, pretrained) 17 | -------------------------------------------------------------------------------- /mmdet/models/detectors/htc.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .cascade_rcnn import CascadeRCNN 3 | 4 | 5 | @DETECTORS.register_module() 6 | class HybridTaskCascade(CascadeRCNN): 7 | """Implementation of `HTC `_""" 8 | 9 | def __init__(self, **kwargs): 10 | super(HybridTaskCascade, self).__init__(**kwargs) 11 | 12 | @property 13 | def with_semantic(self): 14 | """bool: whether the detector has a semantic head""" 15 | return self.roi_head.with_semantic 16 | -------------------------------------------------------------------------------- /mmdet/models/detectors/mask_rcnn.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .two_stage import TwoStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class MaskRCNN(TwoStageDetector): 7 | """Implementation of `Mask R-CNN `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | rpn_head, 12 | roi_head, 13 | train_cfg, 14 | test_cfg, 15 | neck=None, 16 | pretrained=None): 17 | super(MaskRCNN, self).__init__( 18 | backbone=backbone, 19 | neck=neck, 20 | rpn_head=rpn_head, 21 | roi_head=roi_head, 22 | train_cfg=train_cfg, 23 | test_cfg=test_cfg, 24 | pretrained=pretrained) 25 | -------------------------------------------------------------------------------- /mmdet/models/detectors/nasfcos.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class NASFCOS(SingleStageDetector): 7 | """NAS-FCOS: Fast Neural Architecture Search for Object Detection. 8 | 9 | https://arxiv.org/abs/1906.0442 10 | """ 11 | 12 | def __init__(self, 13 | backbone, 14 | neck, 15 | bbox_head, 16 | train_cfg=None, 17 | test_cfg=None, 18 | pretrained=None): 19 | super(NASFCOS, self).__init__(backbone, neck, bbox_head, train_cfg, 20 | test_cfg, pretrained) 21 | -------------------------------------------------------------------------------- /mmdet/models/detectors/paa.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class PAA(SingleStageDetector): 7 | """Implementation of `PAA `_.""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(PAA, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/retinanet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class RetinaNet(SingleStageDetector): 7 | """Implementation of `RetinaNet `_""" 8 | 9 | def __init__(self, 10 | backbone, 11 | neck, 12 | bbox_head, 13 | train_cfg=None, 14 | test_cfg=None, 15 | pretrained=None): 16 | super(RetinaNet, self).__init__(backbone, neck, bbox_head, train_cfg, 17 | test_cfg, pretrained) 18 | -------------------------------------------------------------------------------- /mmdet/models/detectors/scnet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .cascade_rcnn import CascadeRCNN 3 | 4 | 5 | @DETECTORS.register_module() 6 | class SCNet(CascadeRCNN): 7 | """Implementation of `SCNet `_""" 8 | 9 | def __init__(self, **kwargs): 10 | super(SCNet, self).__init__(**kwargs) 11 | -------------------------------------------------------------------------------- /mmdet/models/detectors/vfnet.py: -------------------------------------------------------------------------------- 1 | from ..builder import DETECTORS 2 | from .single_stage import SingleStageDetector 3 | 4 | 5 | @DETECTORS.register_module() 6 | class VFNet(SingleStageDetector): 7 | """Implementation of `VarifocalNet 8 | (VFNet).`_""" 9 | 10 | def __init__(self, 11 | backbone, 12 | neck, 13 | bbox_head, 14 | train_cfg=None, 15 | test_cfg=None, 16 | pretrained=None): 17 | super(VFNet, self).__init__(backbone, neck, bbox_head, train_cfg, 18 | test_cfg, pretrained) 19 | -------------------------------------------------------------------------------- /mmdet/models/detectors/yolo.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2019 Western Digital Corporation or its affiliates. 2 | 3 | from ..builder import DETECTORS 4 | from .single_stage import SingleStageDetector 5 | 6 | 7 | @DETECTORS.register_module() 8 | class YOLOV3(SingleStageDetector): 9 | 10 | def __init__(self, 11 | backbone, 12 | neck, 13 | bbox_head, 14 | train_cfg=None, 15 | test_cfg=None, 16 | pretrained=None): 17 | super(YOLOV3, self).__init__(backbone, neck, bbox_head, train_cfg, 18 | test_cfg, pretrained) 19 | -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/accuracy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/accuracy.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/ae_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/ae_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/balanced_l1_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/balanced_l1_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/cross_entropy_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/cross_entropy_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/focal_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/focal_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/gaussian_focal_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/gaussian_focal_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/gfocal_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/gfocal_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/ghm_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/ghm_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/iou_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/iou_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/mse_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/mse_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/pisa_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/pisa_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/smooth_l1_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/smooth_l1_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/losses/__pycache__/varifocal_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/losses/__pycache__/varifocal_loss.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/.ipynb_checkpoints/__init__-checkpoint.py: -------------------------------------------------------------------------------- 1 | from .bfp import BFP 2 | from .channel_mapper import ChannelMapper 3 | from .fpg import FPG 4 | from .fpn import FPN 5 | from .fpn_carafe import FPN_CARAFE 6 | from .hrfpn import HRFPN 7 | from .nas_fpn import NASFPN 8 | from .nasfcos_fpn import NASFCOS_FPN 9 | from .pafpn import PAFPN 10 | from .rfp import RFP 11 | from .yolo_neck import YOLOV3Neck 12 | from .ssd_neck import SSDNECK 13 | from .ssd_neck import SSDNECK512 14 | from .acfpn import ACFPN 15 | 16 | __all__ = [ 17 | 'FPN', 'BFP', 'ChannelMapper', 'HRFPN', 'NASFPN', 'FPN_CARAFE', 'PAFPN', 18 | 'NASFCOS_FPN', 'RFP', 'YOLOV3Neck', 'FPG', 'SSDNECK', 'SSDNECK512', 'ACFPN' 19 | ] 20 | -------------------------------------------------------------------------------- /mmdet/models/necks/__init__.py: -------------------------------------------------------------------------------- 1 | from .bfp import BFP 2 | from .channel_mapper import ChannelMapper 3 | from .fpg import FPG 4 | from .fpn import FPN 5 | from .fpn_carafe import FPN_CARAFE 6 | from .hrfpn import HRFPN 7 | from .nas_fpn import NASFPN 8 | from .nasfcos_fpn import NASFCOS_FPN 9 | from .pafpn import PAFPN 10 | from .rfp import RFP 11 | from .yolo_neck import YOLOV3Neck 12 | from .ssd_neck import SSDNECK 13 | from .ssd_neck import SSDNECK512 14 | from .acfpn import ACFPN 15 | 16 | __all__ = [ 17 | 'FPN', 'BFP', 'ChannelMapper', 'HRFPN', 'NASFPN', 'FPN_CARAFE', 'PAFPN', 18 | 'NASFCOS_FPN', 'RFP', 'YOLOV3Neck', 'FPG', 'SSDNECK', 'SSDNECK512', 'ACFPN' 19 | ] 20 | -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/bfp.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/bfp.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/channel_mapper.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/channel_mapper.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/fpg.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/fpg.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/fpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/fpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/fpn_carafe.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/fpn_carafe.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/hrfpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/hrfpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/nas_fpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/nas_fpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/nasfcos_fpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/nasfcos_fpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/pafpn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/pafpn.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/rfp.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/rfp.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/ssd_neck.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/ssd_neck.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/necks/__pycache__/yolo_neck.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/necks/__pycache__/yolo_neck.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/base_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/base_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/cascade_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/cascade_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/double_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/double_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/dynamic_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/dynamic_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/grid_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/grid_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/htc_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/htc_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/mask_scoring_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/mask_scoring_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/pisa_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/pisa_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/point_rend_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/point_rend_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/scnet_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/scnet_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/sparse_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/sparse_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/standard_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/standard_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/test_mixins.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/test_mixins.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/__pycache__/trident_roi_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/__pycache__/trident_roi_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .bbox_head import BBoxHead 2 | from .convfc_bbox_head import (ConvFCBBoxHead, Shared2FCBBoxHead, 3 | Shared4Conv1FCBBoxHead) 4 | from .dii_head import DIIHead 5 | from .double_bbox_head import DoubleConvFCBBoxHead 6 | from .sabl_head import SABLHead 7 | from .scnet_bbox_head import SCNetBBoxHead 8 | 9 | __all__ = [ 10 | 'BBoxHead', 'ConvFCBBoxHead', 'Shared2FCBBoxHead', 11 | 'Shared4Conv1FCBBoxHead', 'DoubleConvFCBBoxHead', 'SABLHead', 'DIIHead', 12 | 'SCNetBBoxHead' 13 | ] 14 | -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/bbox_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/bbox_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/convfc_bbox_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/convfc_bbox_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/dii_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/dii_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/double_bbox_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/double_bbox_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/sabl_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/sabl_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/bbox_heads/__pycache__/scnet_bbox_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/bbox_heads/__pycache__/scnet_bbox_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .coarse_mask_head import CoarseMaskHead 2 | from .fcn_mask_head import FCNMaskHead 3 | from .feature_relay_head import FeatureRelayHead 4 | from .fused_semantic_head import FusedSemanticHead 5 | from .global_context_head import GlobalContextHead 6 | from .grid_head import GridHead 7 | from .htc_mask_head import HTCMaskHead 8 | from .mask_point_head import MaskPointHead 9 | from .maskiou_head import MaskIoUHead 10 | from .scnet_mask_head import SCNetMaskHead 11 | from .scnet_semantic_head import SCNetSemanticHead 12 | 13 | __all__ = [ 14 | 'FCNMaskHead', 'HTCMaskHead', 'FusedSemanticHead', 'GridHead', 15 | 'MaskIoUHead', 'CoarseMaskHead', 'MaskPointHead', 'SCNetMaskHead', 16 | 'SCNetSemanticHead', 'GlobalContextHead', 'FeatureRelayHead' 17 | ] 18 | -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/coarse_mask_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/coarse_mask_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/fcn_mask_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/fcn_mask_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/feature_relay_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/feature_relay_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/fused_semantic_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/fused_semantic_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/global_context_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/global_context_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/grid_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/grid_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/htc_mask_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/htc_mask_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/mask_point_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/mask_point_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/maskiou_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/maskiou_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/scnet_mask_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/scnet_mask_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/mask_heads/__pycache__/scnet_semantic_head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/mask_heads/__pycache__/scnet_semantic_head.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/roi_extractors/__init__.py: -------------------------------------------------------------------------------- 1 | from .generic_roi_extractor import GenericRoIExtractor 2 | from .single_level_roi_extractor import SingleRoIExtractor 3 | 4 | __all__ = [ 5 | 'SingleRoIExtractor', 6 | 'GenericRoIExtractor', 7 | ] 8 | -------------------------------------------------------------------------------- /mmdet/models/roi_heads/roi_extractors/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/roi_extractors/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/roi_extractors/__pycache__/base_roi_extractor.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/roi_extractors/__pycache__/base_roi_extractor.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/roi_extractors/__pycache__/generic_roi_extractor.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/roi_extractors/__pycache__/generic_roi_extractor.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/roi_extractors/__pycache__/single_level_roi_extractor.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/roi_extractors/__pycache__/single_level_roi_extractor.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/shared_heads/__init__.py: -------------------------------------------------------------------------------- 1 | from .res_layer import ResLayer 2 | 3 | __all__ = ['ResLayer'] 4 | -------------------------------------------------------------------------------- /mmdet/models/roi_heads/shared_heads/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/shared_heads/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/roi_heads/shared_heads/__pycache__/res_layer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/roi_heads/shared_heads/__pycache__/res_layer.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/gaussian_target.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/gaussian_target.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/positional_encoding.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/positional_encoding.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/res_layer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/res_layer.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/__pycache__/transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/models/utils/__pycache__/transformer.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/models/utils/builder.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import Registry, build_from_cfg 2 | 3 | TRANSFORMER = Registry('Transformer') 4 | POSITIONAL_ENCODING = Registry('Position encoding') 5 | 6 | 7 | def build_transformer(cfg, default_args=None): 8 | """Builder for Transformer.""" 9 | return build_from_cfg(cfg, TRANSFORMER, default_args) 10 | 11 | 12 | def build_positional_encoding(cfg, default_args=None): 13 | """Builder for Position Encoding.""" 14 | return build_from_cfg(cfg, POSITIONAL_ENCODING, default_args) 15 | -------------------------------------------------------------------------------- /mmdet/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .collect_env import collect_env 2 | from .logger import get_root_logger 3 | 4 | __all__ = ['get_root_logger', 'collect_env'] 5 | -------------------------------------------------------------------------------- /mmdet/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/utils/__pycache__/collect_env.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/utils/__pycache__/collect_env.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/utils/__pycache__/contextmanagers.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/utils/__pycache__/contextmanagers.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/utils/__pycache__/logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/utils/__pycache__/logger.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/utils/__pycache__/util_mixins.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zwl-max/underwater-detection/52817887601eaefe90a5c91ec29b44df65de6ff9/mmdet/utils/__pycache__/util_mixins.cpython-37.pyc -------------------------------------------------------------------------------- /mmdet/utils/collect_env.py: -------------------------------------------------------------------------------- 1 | from mmcv.utils import collect_env as collect_base_env 2 | from mmcv.utils import get_git_hash 3 | 4 | import mmdet 5 | 6 | 7 | def collect_env(): 8 | """Collect the information of the running environments.""" 9 | env_info = collect_base_env() 10 | env_info['MMDetection'] = mmdet.__version__ + '+' + get_git_hash()[:7] 11 | return env_info 12 | 13 | 14 | if __name__ == '__main__': 15 | for name, val in collect_env().items(): 16 | print(f'{name}: {val}') 17 | -------------------------------------------------------------------------------- /mmdet/utils/logger.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | from mmcv.utils import get_logger 4 | 5 | 6 | def get_root_logger(log_file=None, log_level=logging.INFO): 7 | """Get root logger. 8 | 9 | Args: 10 | log_file (str, optional): File path of log. Defaults to None. 11 | log_level (int, optional): The level of logger. 12 | Defaults to logging.INFO. 13 | 14 | Returns: 15 | :obj:`logging.Logger`: The obtained logger 16 | """ 17 | logger = get_logger(name='mmdet', log_file=log_file, log_level=log_level) 18 | 19 | return logger 20 | -------------------------------------------------------------------------------- /mmdet/version.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Open-MMLab. All rights reserved. 2 | 3 | __version__ = '2.10.0' 4 | short_version = __version__ 5 | 6 | 7 | def parse_version_info(version_str): 8 | version_info = [] 9 | for x in version_str.split('.'): 10 | if x.isdigit(): 11 | version_info.append(int(x)) 12 | elif x.find('rc') != -1: 13 | patch_version = x.split('rc') 14 | version_info.append(int(patch_version[0])) 15 | version_info.append(f'rc{patch_version[1]}') 16 | return tuple(version_info) 17 | 18 | 19 | version_info = parse_version_info(__version__) 20 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -r requirements/build.txt 2 | -r requirements/optional.txt 3 | -r requirements/runtime.txt 4 | -r requirements/tests.txt 5 | -------------------------------------------------------------------------------- /requirements/build.txt: -------------------------------------------------------------------------------- 1 | # These must be installed before building mmdetection 2 | cython 3 | numpy 4 | -------------------------------------------------------------------------------- /requirements/docs.txt: -------------------------------------------------------------------------------- 1 | recommonmark 2 | sphinx 3 | sphinx_markdown_tables 4 | sphinx_rtd_theme 5 | -------------------------------------------------------------------------------- /requirements/optional.txt: -------------------------------------------------------------------------------- 1 | albumentations>=0.3.2 2 | cityscapesscripts 3 | imagecorruptions 4 | mmlvis 5 | scipy 6 | sklearn 7 | -------------------------------------------------------------------------------- /requirements/readthedocs.txt: -------------------------------------------------------------------------------- 1 | mmcv 2 | torch 3 | torchvision 4 | -------------------------------------------------------------------------------- /requirements/runtime.txt: -------------------------------------------------------------------------------- 1 | matplotlib 2 | mmpycocotools 3 | numpy 4 | six 5 | terminaltables 6 | -------------------------------------------------------------------------------- /requirements/tests.txt: -------------------------------------------------------------------------------- 1 | asynctest 2 | codecov 3 | flake8 4 | interrogate 5 | isort==4.3.21 6 | # Note: used for kwarray.group_items, this may be ported to mmcv in the future. 7 | kwarray 8 | onnx==1.7.0 9 | onnxruntime==1.5.1 10 | pytest 11 | ubelt 12 | xdoctest>=0.10.0 13 | yapf 14 | -------------------------------------------------------------------------------- /tools/.ipynb_checkpoints/dist_test-checkpoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | CONFIG=$1 4 | CHECKPOINT=$2 5 | GPUS=$3 6 | PORT=${PORT:-29500} 7 | 8 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 9 | python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ 10 | $(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4} 11 | -------------------------------------------------------------------------------- /tools/.ipynb_checkpoints/slurm_test-checkpoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | 5 | PARTITION=$1 6 | JOB_NAME=$2 7 | CONFIG=$3 8 | CHECKPOINT=$4 9 | GPUS=${GPUS:-8} 10 | GPUS_PER_NODE=${GPUS_PER_NODE:-8} 11 | CPUS_PER_TASK=${CPUS_PER_TASK:-5} 12 | PY_ARGS=${@:5} 13 | SRUN_ARGS=${SRUN_ARGS:-""} 14 | 15 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 16 | srun -p ${PARTITION} \ 17 | --job-name=${JOB_NAME} \ 18 | --gres=gpu:${GPUS_PER_NODE} \ 19 | --ntasks=${GPUS} \ 20 | --ntasks-per-node=${GPUS_PER_NODE} \ 21 | --cpus-per-task=${CPUS_PER_TASK} \ 22 | --kill-on-bad-exit=1 \ 23 | ${SRUN_ARGS} \ 24 | python -u tools/test.py ${CONFIG} ${CHECKPOINT} --launcher="slurm" ${PY_ARGS} 25 | -------------------------------------------------------------------------------- /tools/dist_test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | CONFIG=$1 4 | CHECKPOINT=$2 5 | GPUS=$3 6 | PORT=${PORT:-29500} 7 | 8 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 9 | python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ 10 | $(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4} 11 | -------------------------------------------------------------------------------- /tools/dist_train.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | CONFIG=$1 4 | GPUS=$2 5 | PORT=${PORT:-29500} 6 | 7 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 8 | python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ 9 | $(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3} 10 | -------------------------------------------------------------------------------- /tools/slurm_test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | 5 | PARTITION=$1 6 | JOB_NAME=$2 7 | CONFIG=$3 8 | CHECKPOINT=$4 9 | GPUS=${GPUS:-8} 10 | GPUS_PER_NODE=${GPUS_PER_NODE:-8} 11 | CPUS_PER_TASK=${CPUS_PER_TASK:-5} 12 | PY_ARGS=${@:5} 13 | SRUN_ARGS=${SRUN_ARGS:-""} 14 | 15 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 16 | srun -p ${PARTITION} \ 17 | --job-name=${JOB_NAME} \ 18 | --gres=gpu:${GPUS_PER_NODE} \ 19 | --ntasks=${GPUS} \ 20 | --ntasks-per-node=${GPUS_PER_NODE} \ 21 | --cpus-per-task=${CPUS_PER_TASK} \ 22 | --kill-on-bad-exit=1 \ 23 | ${SRUN_ARGS} \ 24 | python -u tools/test.py ${CONFIG} ${CHECKPOINT} --launcher="slurm" ${PY_ARGS} 25 | -------------------------------------------------------------------------------- /tools/slurm_train.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -x 4 | 5 | PARTITION=$1 6 | JOB_NAME=$2 7 | CONFIG=$3 8 | WORK_DIR=$4 9 | GPUS=${GPUS:-8} 10 | GPUS_PER_NODE=${GPUS_PER_NODE:-8} 11 | CPUS_PER_TASK=${CPUS_PER_TASK:-5} 12 | SRUN_ARGS=${SRUN_ARGS:-""} 13 | PY_ARGS=${@:5} 14 | 15 | PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ 16 | srun -p ${PARTITION} \ 17 | --job-name=${JOB_NAME} \ 18 | --gres=gpu:${GPUS_PER_NODE} \ 19 | --ntasks=${GPUS} \ 20 | --ntasks-per-node=${GPUS_PER_NODE} \ 21 | --cpus-per-task=${CPUS_PER_TASK} \ 22 | --kill-on-bad-exit=1 \ 23 | ${SRUN_ARGS} \ 24 | python -u tools/train.py ${CONFIG} --work-dir=${WORK_DIR} --launcher="slurm" ${PY_ARGS} 25 | --------------------------------------------------------------------------------