repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_elm327.py | opendbc_repo/opendbc/safety/tests/test_elm327.py | #!/usr/bin/env python3
import unittest
import opendbc.safety.tests.common as common
from opendbc.car.structs import CarParams
from opendbc.safety import DLC_TO_LEN
from opendbc.safety.tests.libsafety import libsafety_py
from opendbc.safety.tests.test_defaults import TestDefaultRxHookBase
GM_CAMERA_DIAG_ADDR = 0x24B
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_nissan.py | opendbc_repo/opendbc/safety/tests/test_nissan.py | #!/usr/bin/env python3
import unittest
from opendbc.car.nissan.values import NissanSafetyFlags
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libsafety_py
import opendbc.safety.tests.common as common
from opendbc.safety.tests.common import CANPackerPanda
class TestNissanSafety(c... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/__init__.py | opendbc_repo/opendbc/safety/tests/__init__.py | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false | |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_hyundai.py | opendbc_repo/opendbc/safety/tests/test_hyundai.py | #!/usr/bin/env python3
import random
import unittest
from opendbc.car.hyundai.values import HyundaiSafetyFlags
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libsafety_py
import opendbc.safety.tests.common as common
from opendbc.safety.tests.common import CANPackerPanda
from opend... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/hyundai_common.py | opendbc_repo/opendbc/safety/tests/hyundai_common.py | import unittest
import opendbc.safety.tests.common as common
from opendbc.safety.tests.libsafety import libsafety_py
from opendbc.safety.tests.common import make_msg
class Buttons:
NONE = 0
RESUME = 1
SET = 2
CANCEL = 4
PREV_BUTTON_SAMPLES = 8
ENABLE_BUTTONS = (Buttons.RESUME, Buttons.SET, Buttons.CANCEL)
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_volkswagen_mqb.py | opendbc_repo/opendbc/safety/tests/test_volkswagen_mqb.py | #!/usr/bin/env python3
import unittest
import numpy as np
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libsafety_py
import opendbc.safety.tests.common as common
from opendbc.safety.tests.common import CANPackerPanda
from opendbc.car.volkswagen.values import VolkswagenSafetyFlags
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_ford.py | opendbc_repo/opendbc/safety/tests/test_ford.py | #!/usr/bin/env python3
import numpy as np
import random
import unittest
import opendbc.safety.tests.common as common
from opendbc.car.ford.carcontroller import MAX_LATERAL_ACCEL
from opendbc.car.ford.values import FordSafetyFlags
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libs... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/test_volkswagen_pq.py | opendbc_repo/opendbc/safety/tests/test_volkswagen_pq.py | #!/usr/bin/env python3
import unittest
from opendbc.car.volkswagen.values import VolkswagenSafetyFlags
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libsafety_py
import opendbc.safety.tests.common as common
from opendbc.safety.tests.common import CANPackerPanda
MSG_LENKHILFE_3 =... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/safety_replay/helpers.py | opendbc_repo/opendbc/safety/tests/safety_replay/helpers.py | from opendbc.car.ford.values import FordSafetyFlags
from opendbc.car.toyota.values import ToyotaSafetyFlags
from opendbc.car.structs import CarParams
from opendbc.safety.tests.libsafety import libsafety_py
def to_signed(d, bits):
ret = d
if d >= (1 << (bits - 1)):
ret = d - (1 << bits)
return ret
def is_ste... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/safety_replay/replay_drive.py | opendbc_repo/opendbc/safety/tests/safety_replay/replay_drive.py | #!/usr/bin/env python3
import argparse
from collections import Counter
from tqdm import tqdm
from opendbc.car.carlog import carlog
from opendbc.safety.tests.libsafety import libsafety_py
from opendbc.safety.tests.safety_replay.helpers import package_can_msg, init_segment
# replay a drive to check for safety violation... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/safety_replay/__init__.py | opendbc_repo/opendbc/safety/tests/safety_replay/__init__.py | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false | |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/misra/test_mutation.py | opendbc_repo/opendbc/safety/tests/misra/test_mutation.py | #!/usr/bin/env python3
import os
import glob
import pytest
import shutil
import subprocess
import tempfile
import random
HERE = os.path.abspath(os.path.dirname(__file__))
ROOT = os.path.join(HERE, "../../../../")
IGNORED_PATHS = (
'opendbc/safety/tests/',
'opendbc/safety/board/',
)
mutations = [
# default
(N... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/libsafety/safety_helpers.py | opendbc_repo/opendbc/safety/tests/libsafety/safety_helpers.py | # panda safety helpers, from safety_helpers.c
from typing import Protocol
def setup_safety_helpers(ffi):
ffi.cdef("""
void set_controls_allowed(bool c);
bool get_controls_allowed(void);
bool get_longitudinal_allowed(void);
void set_alternative_experience(int mode);
int get_alternative_experience(void);
v... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/libsafety/__init__.py | opendbc_repo/opendbc/safety/tests/libsafety/__init__.py | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false | |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/safety/tests/libsafety/libsafety_py.py | opendbc_repo/opendbc/safety/tests/libsafety/libsafety_py.py | import os
from cffi import FFI
from typing import Protocol
from opendbc.safety import LEN_TO_DLC
from opendbc.safety.tests.libsafety.safety_helpers import PandaSafety, setup_safety_helpers
libsafety_dir = os.path.dirname(os.path.abspath(__file__))
libsafety_fn = os.path.join(libsafety_dir, "libsafety.so")
ffi = FFI(... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/__init__.py | opendbc_repo/opendbc/dbc/__init__.py | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false | |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/generator.py | opendbc_repo/opendbc/dbc/generator/generator.py | #!/usr/bin/env python3
import os
import re
import glob
import subprocess
generator_path = os.path.dirname(os.path.realpath(__file__))
opendbc_root = os.path.join(generator_path, '../')
include_pattern = re.compile(r'CM_ "IMPORT (.*?)";\n')
generated_suffix = '_generated.dbc'
def read_dbc(src_dir: str, filename: str)... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/tesla/tesla_radar_bosch.py | opendbc_repo/opendbc/dbc/generator/tesla/tesla_radar_bosch.py | #!/usr/bin/env python3
import os
from opendbc.dbc.generator.tesla._radar_common import get_radar_point_definition, get_val_definition
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
tesla_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(tesla_path... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/tesla/_radar_common.py | opendbc_repo/opendbc/dbc/generator/tesla/_radar_common.py | #!/usr/bin/env python3
def get_radar_point_definition(base_id, base_name):
return f"""
BO_ {base_id} {base_name}_A: 8 Radar
SG_ LongDist : 0|12@1+ (0.0625,0) [0|255.9] "meters" Autopilot
SG_ LongSpeed : 12|12@1+ (0.0625,-128) [-128|128] "meters/sec" Autopilot
SG_ LatDist : 24|11@1+ (0.125,-128) [-128|128] "mete... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/tesla/tesla_radar_continental.py | opendbc_repo/opendbc/dbc/generator/tesla/tesla_radar_continental.py | #!/usr/bin/env python3
import os
from opendbc.dbc.generator.tesla._radar_common import get_radar_point_definition, get_val_definition
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
tesla_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(tesla_path... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/rivian/rivian_mando_front_radar.py | opendbc_repo/opendbc/dbc/generator/rivian/rivian_mando_front_radar.py | #!/usr/bin/env python3
import os
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
rivian_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(rivian_path, dbc_name), "w", encoding='utf-8') as f:
f.write("""
VERSION ""
NS_ :
NS_DESC_
CM_
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_kia_mando_corner_radar.py | opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_kia_mando_corner_radar.py | #!/usr/bin/env python3
from collections import namedtuple
import os
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
hyundai_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(hyundai_path, dbc_name), "w", encoding='utf-8') as f:
f.write("""
VERSI... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_canfd_radar.py | opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_canfd_radar.py | #!/usr/bin/env python3
import os
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
hyundai_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(hyundai_path, dbc_name), "w", encoding='utf-8') as f:
f.write("""
VERSION ""
NS_ :
NS_DESC_
CM_
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_kia_mando_front_radar.py | opendbc_repo/opendbc/dbc/generator/hyundai/hyundai_kia_mando_front_radar.py | #!/usr/bin/env python3
import os
if __name__ == "__main__":
dbc_name = os.path.basename(__file__).replace(".py", ".dbc")
hyundai_path = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(hyundai_path, dbc_name), "w", encoding='utf-8') as f:
f.write("""
VERSION ""
NS_ :
NS_DESC_
CM_
... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/opendbc_repo/opendbc/dbc/generator/chrysler/_stellantis_common_ram.py | opendbc_repo/opendbc/dbc/generator/chrysler/_stellantis_common_ram.py | #!/usr/bin/env python3
import os
chrysler_to_ram = {
"_stellantis_common_ram_dt_generated.dbc": {
258: 35,
264: 37,
268: 113,
280: 181,
284: 121,
288: 123,
320: 131,
344: 139,
368: 147,
464: 464,
500: 153,
501: 232,
544: 49,
571: 177,
559: 157,
625: 163... | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false |
ajouatom/openpilot | https://github.com/ajouatom/openpilot/blob/b0eab6e8de2d57522b657426fbb794f2d736c75c/openpilot/__init__.py | openpilot/__init__.py | python | MIT | b0eab6e8de2d57522b657426fbb794f2d736c75c | 2026-01-05T07:04:53.428285Z | false | |
alexandermalyga/poltergeist | https://github.com/alexandermalyga/poltergeist/blob/6cbec9b87469171ca5a343d98a392c662ed3deb6/tests/test_result.py | tests/test_result.py | import pytest
from poltergeist import Err, Ok
def test_ok() -> None:
result = Ok("abc")
match result:
case Ok(v):
assert v == "abc"
case _:
pytest.fail("Should have been Ok")
assert result.err() is None
assert result.unwrap() == "abc"
assert result.unwr... | python | MIT | 6cbec9b87469171ca5a343d98a392c662ed3deb6 | 2026-01-05T07:09:20.075547Z | false |
alexandermalyga/poltergeist | https://github.com/alexandermalyga/poltergeist/blob/6cbec9b87469171ca5a343d98a392c662ed3deb6/tests/test_decorator.py | tests/test_decorator.py | import operator
import pytest
from poltergeist import Err, Ok, catch, catch_async
def test_decorator() -> None:
decorated = catch(ZeroDivisionError)(operator.truediv)
assert decorated(4, 2) == Ok(2)
match decorated(4, 0):
case Err(e):
assert type(e) == ZeroDivisionError
... | python | MIT | 6cbec9b87469171ca5a343d98a392c662ed3deb6 | 2026-01-05T07:09:20.075547Z | false |
alexandermalyga/poltergeist | https://github.com/alexandermalyga/poltergeist/blob/6cbec9b87469171ca5a343d98a392c662ed3deb6/poltergeist/result.py | poltergeist/result.py | from typing import Any, Callable, Generic, NoReturn, TypeVar, final, overload
_T = TypeVar("_T", covariant=True)
_E = TypeVar("_E", bound=BaseException, covariant=True)
_D = TypeVar("_D")
@final
class Ok(Generic[_T]):
__slots__ = ("_value",)
__match_args__ = ("_value",)
def __init__(self, value: _T) -> ... | python | MIT | 6cbec9b87469171ca5a343d98a392c662ed3deb6 | 2026-01-05T07:09:20.075547Z | false |
alexandermalyga/poltergeist | https://github.com/alexandermalyga/poltergeist/blob/6cbec9b87469171ca5a343d98a392c662ed3deb6/poltergeist/__init__.py | poltergeist/__init__.py | from poltergeist.decorator import catch, catch_async
from poltergeist.result import Err, Ok, Result
__all__ = ["Err", "Ok", "Result", "catch", "catch_async"]
| python | MIT | 6cbec9b87469171ca5a343d98a392c662ed3deb6 | 2026-01-05T07:09:20.075547Z | false |
alexandermalyga/poltergeist | https://github.com/alexandermalyga/poltergeist/blob/6cbec9b87469171ca5a343d98a392c662ed3deb6/poltergeist/decorator.py | poltergeist/decorator.py | import functools
from collections.abc import Awaitable
from typing import Callable, ParamSpec, TypeVar
from poltergeist.result import Err, Ok, Result
_T = TypeVar("_T")
_E = TypeVar("_E", bound=BaseException)
_P = ParamSpec("_P")
def catch(
*errors: type[_E],
) -> Callable[[Callable[_P, _T]], Callable[_P, Resul... | python | MIT | 6cbec9b87469171ca5a343d98a392c662ed3deb6 | 2026-01-05T07:09:20.075547Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/multipart.py | multipart.py | # -*- coding: utf-8 -*-
"""
This module provides multiple parsers for RFC-7578 `multipart/form-data`, both
low-level for framework authors and high-level for WSGI or ASGI application
developers.
https://multipart.readthedocs.io/
Copyright (c) 2010-2025, Marcel Hellkamp
License: MIT (see LICENSE file)
"""
__author__... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | true |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/test_wsgi_parser.py | test/test_wsgi_parser.py | # -*- coding: utf-8 -*-
from .utils import BaseParserTest
import multipart
class TestFormParser(BaseParserTest):
def test_is_form_request(self):
self.assertTrue(multipart.is_form_request({"CONTENT_TYPE": "multipart/form-data"}))
self.assertTrue(multipart.is_form_request({"CONTENT_TYPE": "Multipa... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/test_multdict.py | test/test_multdict.py | # -*- coding: utf-8 -*-
import unittest
import multipart as multipart
class TestMultiDict(unittest.TestCase):
def test_init(self):
md = multipart.MultiDict([("a", "1")], {"a": "2"}, a="3")
self.assertEqual(md.dict, {"a": ["1", "2", "3"]})
def test_append(self):
md = multipart.MultiDi... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/__main__.py | test/__main__.py | import unittest
import pathlib
import sys
if __name__ == '__main__':
suite = unittest.defaultTestLoader.discover(pathlib.Path(__file__).parent.parent)
result = unittest.TextTestRunner(verbosity=0).run(suite)
sys.exit((result.errors or result.failures) and 1 or 0)
| python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/utils.py | test/utils.py | from contextlib import contextmanager
import unittest
from io import BytesIO
import multipart as multipart
from multipart import to_bytes
class BaseParserTest(unittest.TestCase):
def setUp(self):
self.data = BytesIO()
self.boundary = 'foo'
self.environ = {
'REQUEST_METHOD':'PO... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/test_push_parser.py | test/test_push_parser.py | # -*- coding: utf-8 -*-
"""
Tests for the PushMultipartParser all other parsers are based on.
"""
import asyncio
from collections import deque
from contextlib import contextmanager
import functools
import unittest
from base64 import b64decode
import multipart
def assertRaiseStrict(text):
"""Runs a test case tw... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | true |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/__init__.py | test/__init__.py | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false | |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/test_legacy_parser.py | test/test_legacy_parser.py | # -*- coding: utf-8 -*-
from .utils import BaseParserTest
import unittest
import base64
import os.path, tempfile
from io import BytesIO
import multipart as multipart
from multipart import to_bytes
#TODO: bufsize=10, line=1234567890--boundary\n
#TODO: bufsize < len(boundary) (should not be possible)
#TODO: bufsize =... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/test/test_header_utils.py | test/test_header_utils.py | # -*- coding: utf-8 -*-
import functools
import unittest
import multipart
class TestHeaderParser(unittest.TestCase):
def test_token_unquote(self):
unquote = multipart.header_unquote
self.assertEqual('foo', unquote('"foo"'))
self.assertEqual('foo"bar', unquote('"foo\\"bar"'))
self.... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
defnull/multipart | https://github.com/defnull/multipart/blob/990ee62b65cddfcdb73f1ba3e19a001dba8326a5/docs/conf.py | docs/conf.py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If ex... | python | MIT | 990ee62b65cddfcdb73f1ba3e19a001dba8326a5 | 2026-01-05T07:09:21.205609Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/setup.py | setup.py | from setuptools import setup, find_packages
long_description = '''
### Oxfs
Oxfs is a user-space network file system similar to SSHFS, and the underlying data transfer is based on the SFTP protocol. Oxfs introduces an asynchronous refresh policy to solve the jamming problem caused by the mismatch between network spee... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/lock.py | oxfs/lock.py | #!/usr/bin/env python
import threading
import xxhash
class Lock:
def __init__(self, max_locks=2048):
self.locks = [threading.Lock() for _ in range(0, max_locks)]
def lockid(self, path):
return xxhash.xxh64_intdigest(path) % len(self.locks)
def lock(self, path):
self.locks[self.l... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/__init__.py | oxfs/__init__.py | name = "oxfs"
| python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/updater.py | oxfs/updater.py | #!/usr/bin/env python
from concurrent.futures import ThreadPoolExecutor
import hashlib
import logging
import os
import pathlib
import stat
import threading
import time
from errno import ENOENT
from oxfs.cache.fs import CacheManager
from oxfs.lock import Lock as Mutex
class CacheUpdater:
def __init__(self, oxfs,... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/oxfs.py | oxfs/oxfs.py | #!/usr/bin/env python
import argparse
import getpass
import logging
import multiprocessing
import os
import threading
import paramiko
import platform
import subprocess
import sys
from concurrent.futures import ThreadPoolExecutor
from errno import ENOENT
from fuse import FUSE, FuseOSError, Operations, LoggingMixIn
fr... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/cache/meta.py | oxfs/cache/meta.py | #!/usr/bin/env python
import collections
import threading
class Cache:
def __init__(self, maxsize=2**18):
self.lock = threading.Lock()
self.maxsize = maxsize
self.cache = collections.OrderedDict()
def remove(self, k):
with self.lock:
self.cache.pop(k, None)
d... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/cache/fs.py | oxfs/cache/fs.py | #!/usr/bin/env python
import collections
import logging
import os
import threading
import xxhash
class CacheManager:
def __init__(self, cache_path, max_disk_size_mb=2**10):
self.logger = logging.getLogger(self.__class__.__name__)
self.cache_path = cache_path
self.maxsize = max_disk_size_m... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/oxfs/cache/__init__.py | oxfs/cache/__init__.py | name = "cache"
| python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
oxfs/oxfs | https://github.com/oxfs/oxfs/blob/7195575aab2f16b7e52b2f6112cac356b189087c/files/iozone_xls_to_graph.py | files/iozone_xls_to_graph.py | #!/usr/bin/env python
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
class XlxToGraph(object):
def __init__(self):
self.oxfs_iozone_xls = './oxfs_iozone.xls'
self.sshfs_iozone_xls = './sshfs_iozone.xls'
self.oxfs_xls = pd.read_excel(self.oxfs_iozone_xls)
self... | python | MIT | 7195575aab2f16b7e52b2f6112cac356b189087c | 2026-01-05T07:09:19.932834Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/setup.py | setup.py | import os
import platform
import subprocess
import time
from setuptools import Extension, dist, find_packages, setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
dist.Distribution().fetch_build_eggs(['Cython', 'numpy>=1.11.1'])
import numpy as np # noqa: E402
from Cython.Build import cythonize... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/train.py | tools/train.py | from __future__ import division
import argparse
import os
import torch
from mmcv import Config
from mmdet import __version__
from mmdet.apis import (get_root_logger, init_dist, set_random_seed,
train_detector)
from mmdet.datasets import build_dataset
from mmdet.models import build_detector
d... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/coco_error_analysis.py | tools/coco_error_analysis.py | import copy
import os
from argparse import ArgumentParser
from multiprocessing import Pool
import matplotlib.pyplot as plt
import numpy as np
from pycocotools.coco import COCO
from pycocotools.cocoeval import COCOeval
def makeplot(rs, ps, outDir, class_name, iou_type):
cs = np.vstack([
np.ones((2, 3)),
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/publish_model.py | tools/publish_model.py | import argparse
import subprocess
import torch
def parse_args():
parser = argparse.ArgumentParser(
description='Process a checkpoint to be published')
parser.add_argument('in_file', help='input checkpoint filename')
parser.add_argument('out_file', help='output checkpoint filename')
args = par... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/test_robustness.py | tools/test_robustness.py | import argparse
import copy
import os
import os.path as osp
import shutil
import tempfile
import mmcv
import numpy as np
import torch
import torch.distributed as dist
from mmcv.parallel import MMDataParallel, MMDistributedDataParallel
from mmcv.runner import get_dist_info, load_checkpoint
from pycocotools.coco import ... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/get_flops.py | tools/get_flops.py | import argparse
from mmcv import Config
from mmdet.models import build_detector
from mmdet.utils import get_model_complexity_info
def parse_args():
parser = argparse.ArgumentParser(description='Train a detector')
parser.add_argument('config', help='train config file path')
parser.add_argument(
'... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/voc_eval.py | tools/voc_eval.py | from argparse import ArgumentParser
import mmcv
import numpy as np
from mmdet import datasets
from mmdet.core import eval_map
def voc_eval(result_file, dataset, iou_thr=0.5):
det_results = mmcv.load(result_file)
gt_bboxes = []
gt_labels = []
gt_ignore = []
for i in range(len(dataset)):
a... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/analyze_logs.py | tools/analyze_logs.py | import argparse
import json
from collections import defaultdict
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
def cal_train_time(log_dicts, args):
for i, log_dict in enumerate(log_dicts):
print('{}Analyze train time of {}{}'.format('-' * 5, args.json_logs[i],
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/coco_eval.py | tools/coco_eval.py | from argparse import ArgumentParser
from mmdet.core import coco_eval
def main():
parser = ArgumentParser(description='COCO Evaluation')
parser.add_argument('result', help='result file path')
parser.add_argument('--ann', help='annotation file path')
parser.add_argument(
'--types',
type... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/test.py | tools/test.py | import argparse
import os
import os.path as osp
import shutil
import tempfile
import mmcv
import torch
import torch.distributed as dist
from mmcv.parallel import MMDataParallel, MMDistributedDataParallel
from mmcv.runner import get_dist_info, load_checkpoint
from mmdet.apis import init_dist
from mmdet.core import coc... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/detectron2pytorch.py | tools/detectron2pytorch.py | import argparse
from collections import OrderedDict
import mmcv
import torch
arch_settings = {50: (3, 4, 6, 3), 101: (3, 4, 23, 3)}
def convert_bn(blobs, state_dict, caffe_name, torch_name, converted_names):
# detectron replace bn with affine channel layer
state_dict[torch_name + '.bias'] = torch.from_numpy... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/robustness_eval.py | tools/robustness_eval.py | import os.path as osp
from argparse import ArgumentParser
import mmcv
import numpy as np
def print_coco_results(results):
def _print(result, ap=1, iouThr=None, areaRng='all', maxDets=100):
iStr = ' {:<18} {} @[ IoU={:<9} | \
area={:>6s} | maxDets={:>3d} ] = {:0.3f}'
titleStr = 'Average ... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/upgrade_model_version.py | tools/upgrade_model_version.py | import argparse
import re
from collections import OrderedDict
import torch
def convert(in_file, out_file):
"""Convert keys in checkpoints.
There can be some breaking changes during the development of mmdetection,
and this tool is used for upgrading checkpoints trained with old versions
to the latest... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tools/convert_datasets/pascal_voc.py | tools/convert_datasets/pascal_voc.py | import argparse
import os.path as osp
import xml.etree.ElementTree as ET
import mmcv
import numpy as np
from mmdet.core import voc_classes
label_ids = {name: i + 1 for i, name in enumerate(voc_classes())}
def parse_xml(args):
xml_path, img_path = args
tree = ET.parse(xml_path)
root = tree.getroot()
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/tests/test_utils.py | tests/test_utils.py | import numpy.testing as npt
from mmdet.utils.flops_counter import params_to_string
def test_params_to_string():
npt.assert_equal(params_to_string(1e9), '1000.0 M')
npt.assert_equal(params_to_string(2e5), '200.0 k')
npt.assert_equal(params_to_string(3e-9), '3e-09')
| python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_rcnn_r50_caffe_c4_1x.py | configs/cascade_rcnn_r50_caffe_c4_1x.py | # model settings
norm_cfg = dict(type='BN', requires_grad=False)
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_ind... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_r34_fpn_1x_exp2.py | configs/retinanet_r34_fpn_1x_exp2.py | # model settings
model = dict(
type='RetinaNet',
pretrained='torchvision://resnet34',
backbone=dict(
type='ResNet',
depth=34,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[64,... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_rcnn_x101_32x4d_fpn_1x.py | configs/cascade_rcnn_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_x101_32x4d_fpn_1x.py | configs/faster_rcnn_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='FasterRCNN',
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_r101_fpn_1x.py | configs/retinanet_r101_fpn_1x.py | # model settings
model = dict(
type='RetinaNet',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[2... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_r50_fpn_1x.py | configs/faster_rcnn_r50_fpn_1x.py | # model settings
model = dict(
type='FasterRCNN',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[25... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_r50_caffe_c4_1x.py | configs/faster_rcnn_r50_caffe_c4_1x.py | # model settings
norm_cfg = dict(type='BN', requires_grad=False)
model = dict(
type='FasterRCNN',
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_indices=(2, ),
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_rcnn_r101_fpn_1x.py | configs/fast_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='FastRCNN',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[25... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_x101_32x4d_fpn_1x.py | configs/retinanet_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='RetinaNet',
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_r50_fpn_1x.py | configs/retinanet_r50_fpn_1x.py | # model settings
model = dict(
type='RetinaNet',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_r101_fpn_1x.py | configs/faster_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='FasterRCNN',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_rcnn_r50_fpn_1x.py | configs/cascade_rcnn_r50_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/rpn_r50_caffe_c4_1x.py | configs/rpn_r50_caffe_c4_1x.py | # model settings
model = dict(
type='RPN',
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_indices=(2, ),
frozen_stages=1,
norm_cfg=dict(type='BN', requ... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fsaf_r50_400.py | configs/fsaf_r50_400.py | # model settings
model = dict(
type='FSAF',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_mask_rcnn_r50_fpn_1x.py | configs/fast_mask_rcnn_r50_fpn_1x.py | # model settings
model = dict(
type='FastRCNN',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256,... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_mask_rcnn_x101_32x4d_fpn_1x.py | configs/cascade_mask_rcnn_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/rpn_x101_64x4d_fpn_1x.py | configs/rpn_x101_64x4d_fpn_1x.py | # model settings
model = dict(
type='RPN',
pretrained='open-mmlab://resnext101_64x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=64,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_mask_rcnn_r50_caffe_c4_1x.py | configs/cascade_mask_rcnn_r50_caffe_c4_1x.py | # model settings
norm_cfg = dict(type='BN', requires_grad=False)
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_ind... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_mask_rcnn_r101_fpn_1x.py | configs/fast_mask_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='FastRCNN',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[25... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/ssd512_coco.py | configs/ssd512_coco.py | # model settings
input_size = 512
model = dict(
type='SingleStageDetector',
pretrained='open-mmlab://vgg16_caffe',
backbone=dict(
type='SSDVGG',
input_size=input_size,
depth=16,
with_last_pool=False,
ceil_mode=True,
out_indices=(3, 4),
out_feature_indi... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/mask_rcnn_x101_32x4d_fpn_1x.py | configs/mask_rcnn_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='MaskRCNN',
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=d... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_x101_64x4d_fpn_1x.py | configs/retinanet_x101_64x4d_fpn_1x.py | # model settings
model = dict(
type='RetinaNet',
pretrained='open-mmlab://resnext101_64x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=64,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_x101_64x4d_fpn_1x.py | configs/faster_rcnn_x101_64x4d_fpn_1x.py | # model settings
model = dict(
type='FasterRCNN',
pretrained='open-mmlab://resnext101_64x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=64,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_rcnn_r50_fpn_1x.py | configs/fast_rcnn_r50_fpn_1x.py | # model settings
model = dict(
type='FastRCNN',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256,... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/rpn_r101_fpn_1x.py | configs/rpn_r101_fpn_1x.py | # model settings
model = dict(
type='RPN',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 51... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/faster_rcnn_ohem_r50_fpn_1x.py | configs/faster_rcnn_ohem_r50_fpn_1x.py | # model settings
model = dict(
type='FasterRCNN',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[25... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_mask_rcnn_r50_fpn_1x.py | configs/cascade_mask_rcnn_r50_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_rcnn_r101_fpn_1x.py | configs/cascade_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_rcnn_r50_caffe_c4_1x.py | configs/fast_rcnn_r50_caffe_c4_1x.py | # model settings
norm_cfg = dict(type='BN', requires_grad=False)
model = dict(
type='FastRCNN',
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_indices=(2, ),
f... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/cascade_mask_rcnn_r101_fpn_1x.py | configs/cascade_mask_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='CascadeRCNN',
num_stages=3,
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/retinanet_r50_fpn_075x_exp1.py | configs/retinanet_r50_fpn_075x_exp1.py | # model settings
model = dict(
type='RetinaNet',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fast_mask_rcnn_r50_caffe_c4_1x.py | configs/fast_mask_rcnn_r50_caffe_c4_1x.py | # model settings
norm_cfg = dict(type='BN', requires_grad=False)
model = dict(
type='FastRCNN',
pretrained='open-mmlab://resnet50_caffe',
backbone=dict(
type='ResNet',
depth=50,
num_stages=3,
strides=(1, 2, 2),
dilations=(1, 1, 1),
out_indices=(2, ),
f... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/rpn_x101_32x4d_fpn_1x.py | configs/rpn_x101_32x4d_fpn_1x.py | # model settings
model = dict(
type='RPN',
pretrained='open-mmlab://resnext101_32x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=32,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/mask_rcnn_r101_fpn_1x.py | configs/mask_rcnn_r101_fpn_1x.py | # model settings
model = dict(
type='MaskRCNN',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[25... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection | https://github.com/hdjang/Feature-Selective-Anchor-Free-Module-for-Single-Shot-Object-Detection/blob/321a207c499a3f6b260fa2e0644ef90a5d996ddc/configs/fsaf_r50_400_050x.py | configs/fsaf_r50_400_050x.py | # model settings
model = dict(
type='FSAF',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512... | python | Apache-2.0 | 321a207c499a3f6b260fa2e0644ef90a5d996ddc | 2026-01-05T07:09:22.326240Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.