repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/mug_u.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.225515 | # from http import HTTPStatus
import os
import requests
from ..dataset import DATASET_TYPE, DATASET_MODALITY
from vlmeval.api.base import BaseAPI
from vlmeval.smp import *
class MUGUWrapper(BaseAPI):
is_api: bool = True
def __init__(self,
model: str,
retry: int = 5,
... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/lmdeploy.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.233916 | # from http import HTTPStatus
import os
import requests
from ..dataset import DATASET_TYPE, DATASET_MODALITY
from vlmeval.api.base import BaseAPI
from vlmeval.smp import *
class InternVL2_PromptUtil:
def __init__(self, use_mpo_prompt=False):
self.use_mpo_prompt = use_mpo_prompt
def dump_image(self, ... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/reka.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.248170 | from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
from time import sleep
import mimetypes
class Reka_Wrapper(BaseAPI):
is_api: bool = True
INTERLEAVE: bool = False
def __init__(self,
model: str = 'reka-flash-20240226',
key: str = None,
retr... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/qwen_vl_api.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.250181 | from __future__ import annotations
import os
import warnings
from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
from vlmeval.vlm.qwen2_vl.prompt import Qwen2VLPromptMixin
def ensure_image_url(image: str) -> str:
prefixes = ['http://', 'https://', 'file://', 'data:image;']
if any(image.startswith... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/qwen_api.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.272917 | from http import HTTPStatus
import os
from vlmeval.api.base import BaseAPI
from vlmeval.smp import *
# Note: This is a pure language model API.
class QwenAPI(BaseAPI):
is_api: bool = True
def __init__(self,
model: str = 'qwen-max-1201',
retry: int = 5,
wait... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/sensechat_vision.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.274217 | import os
import string
import time
from typing import Optional
import pandas as pd
import requests
from vlmeval.smp import (
LMUDataRoot,
osp,
read_ok,
decode_base64_to_image_file,
toliststr,
listinstr,
cn_string,
)
from vlmeval.api.base import BaseAPI
from vlmeval.dataset import img_root_m... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/stepai.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.752841 | from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
url = 'https://api.stepfun.com/v1/chat/completions'
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {}',
}
class StepAPI_INT(BaseAPI):
is_api: bool = True
def __init__(self,
model: str = 'step-1... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/siliconflow.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.759085 | import math
from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
from vlmeval.dataset import img_root_map
API_BASE = "https://api.siliconflow.cn/v1/chat/completions"
def resize_image(image: Image.Image, max_height: int, max_width: int) -> Image.Image:
width, height = image.size
if min(width, height... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/taichu.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.775614 | from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
import os
import re
import json
from PIL import Image
import base64
from io import BytesIO
import copy
class ChatResponse(dict):
def __getattr__(self, name):
value = self.get(name)
if isinstance(value, dict):
return ChatRe... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/config.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.785167 | from vlmeval.vlm import *
from vlmeval.api import *
from functools import partial
import os
PandaGPT_ROOT = None
MiniGPT4_ROOT = None
TransCore_ROOT = None
Yi_ROOT = None
OmniLMM_ROOT = None
Mini_Gemini_ROOT = None
VXVERSE_ROOT = None
VideoChat2_ROOT = None
VideoChatGPT_ROOT = None
PLLaVA_ROOT = None
RBDash_ROOT = Non... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/api/taiyi.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.786207 | from vlmeval.smp import *
from vlmeval.api.base import BaseAPI
from vlmeval.dataset import DATASET_TYPE, img_root_map
class TaiyiWrapper(BaseAPI):
is_api: bool = True
def __init__(self,
model: str = 'taiyi',
retry: int = 5,
wait: int = 5,
k... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/CGAVCounting/cg_av_counting.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.844119 | from huggingface_hub import snapshot_download
from ...smp import *
from ..video_base import VideoBaseDataset
from ..utils import build_judge, DEBUG_MESSAGE, cgbench
from .utils import *
from ...utils import track_progress_rich
class CGAVCounting(VideoBaseDataset):
dataset = "CG-AV-Counting"
TYPE = "Video-Co... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/CGAVCounting/utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.845597 | import json
import math
from ...smp import *
import numpy as np
import re
import zipfile
from pathlib import Path
from tqdm import tqdm
import signal
def rating_func(data_path):
df = load(data_path)
task_mode_fields = {
"long_acc": ["acc", "oboa", "mae", "rmse"],
"ref_acc": ["acc", "oboa", ... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/GUI/screenspot.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:00.947212 | import os
import re
import tempfile
import itertools
from functools import partial
import pandas as pd
import ast
from ..image_base import ImageBaseDataset, img_root_map
from ..utils import build_judge, DEBUG_MESSAGE
from ...smp import *
from ...utils import track_progress_rich
from ipdb import set_trace as st
logge... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/GUI/screenspot_pro.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.347028 | import os
import re
import tempfile
import itertools
from functools import partial
import pandas as pd
import ast
from ..image_base import ImageBaseDataset, img_root_map
from ..utils import build_judge, DEBUG_MESSAGE
from ...smp import *
from ...utils import track_progress_rich
from ipdb import set_trace as st
logge... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/Omnidocbench/data_preprocess.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.357436 | import re
import unicodedata
from pylatexenc.latex2text import LatexNodes2Text
from bs4 import BeautifulSoup
import subprocess
import shutil
import uuid
import html
import os
def remove_markdown_fences(content):
content = re.sub(r'^```markdown\n?', '', content, flags=re.MULTILINE)
content = re.sub(r'```\n?$', ... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/Omnidocbench/metrics.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.373684 | import json
import time
import Levenshtein
import evaluate
import random
import pdb
import copy
import pandas as pd
from .utils import save_paired_result,normalized_table
from collections import defaultdict
from apted.helpers import Tree
from apted import APTED, Config
from lxml import etree, html
from collections imp... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/Omnidocbench/omnidocbench.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.386131 | import json
import os
import copy
import pandas as pd
import tempfile
import base64
from tqdm import tqdm
import torch.distributed as dist
from ..image_base import ImageBaseDataset
from ...smp import *
class OmniDocBench(ImageBaseDataset):
MODALITY = 'IMAGE'
TYPE = 'QA'
DATASET_URL = {'OmniDocBench':'ht... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.408549 | import warnings
from .image_base import img_root_map, ImageBaseDataset
from .image_caption import ImageCaptionDataset
from .image_yorn import ImageYORNDataset
from .image_mcq import (
ImageMCQDataset, MMMUDataset, CustomMCQDataset, MUIRDataset, GMAIMMBenchDataset, MMERealWorld, HRBenchDataset,
NaturalBenchData... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/Omnidocbench/utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.436865 | import re
import unicodedata
import subprocess
import shutil
import uuid
import html
import os
import sys
import pdb
import json
import copy
import unicodedata
import Levenshtein
import numpy as np
from bs4 import BeautifulSoup
from pylatexenc.latex2text import LatexNodes2Text
from scipy.optimize import linear_sum_ass... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/cgbench.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.458688 | from huggingface_hub import snapshot_download
from ..smp import *
from .video_base import VideoBaseDataset
from .utils import build_judge, DEBUG_MESSAGE
from .utils.cgbench import *
from ..utils import track_progress_rich
class CGBench_MCQ_Grounding_Mini(VideoBaseDataset):
dataset = "CG-Bench_MCQ_Grounding_Mini"... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/chartmimic.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:01.540145 | # flake8: noqa
import re
import os
import sys
from ..smp import *
FAIL_MSG = "Failed to obtain answer via API."
logger = get_logger("ChartMimic")
# SET VLMEVAL_CHARTMIMIC_UTILS_PATH for chartmimic evaluator
# ".../VLMEvalKit/vlmeval..."
cur_path = os.path.abspath(__file__)
util_path = cur_path.replace("dataset/char... |
Alpha-VLLM/Lumina-DiMOO | https://github.com/Alpha-VLLM/Lumina-DiMOO | null | null | null | null | 968 | null | null | apache-2.0 | null | null | null | null | null | null | null | VLMEvalKit/vlmeval/dataset/charxiv.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:02.468772 | import os
import json
from typing import Dict, List, Tuple, Any, Union
import pandas as pd
import warnings
from vlmeval.dataset.image_base import ImageBaseDataset
from vlmeval.smp import misc, file
from vlmeval import utils
from vlmeval.dataset.utils import build_judge
def auxeval(judge_model: Any, line: pd.Series, ... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/network_runner.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:04.958489 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/params.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:04.965761 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/pocketsphinx/listener.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:04.969127 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/annoyance_estimator.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:04.988453 | # Copyright 2020 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/pocketsphinx/scripts/listen.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:05.051690 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/functions.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:05.054608 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/model.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:05.055700 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/add_noise.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:05.814711 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/engine.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:05.994388 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/collect.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.022265 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/graph.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.023774 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/eval.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.578075 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/pocketsphinx/scripts/test.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.579169 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/listen.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.580365 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/calc_threshold.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.581551 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/base_script.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:06.798627 | from abc import abstractmethod
from argparse import ArgumentParser, Namespace
from prettyparse import Usage
class BaseScript:
"""A class to standardize the way scripts are defined"""
usage = Usage()
def __init__(self, args):
self.args = args
@classmethod
def create(cls, **args):
... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/train.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.188832 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/train_incremental.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.515153 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/stats.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.516741 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/train_sampled.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.628179 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/convert.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.629861 | #!/usr/bin/env python3
# Attribution: This script was adapted from https://github.com/amir-abdi/keras_to_tensorflow
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Licen... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/simulate.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.630955 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/threshold_decoder.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.694568 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/train_generated.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:07.807261 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/train_data.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:08.339812 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | runner/example.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:08.629042 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/util.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:08.739769 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/train_optimize.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:08.759073 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:09.886465 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/conftest.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:09.908933 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:10.188879 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | runner/test/test_runner.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:10.450999 | from precise_runner import ReadWriteStream
class TestReadWriteStream:
def test_read_write(self):
s = ReadWriteStream(b'1234567890')
assert s.read(2) == b'12'
assert s.read(2) == b'34'
s.write(b'hi')
assert s.read() == b'567890hi'
s.write(b'hello')
assert s.r... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/test_add_noise.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:10.492193 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/test_combined.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:10.578074 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/test_convert.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:10.782130 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/test_engine.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:11.153062 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | test/scripts/test_train.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:11.218035 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:11.355066 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/scripts/test.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:11.755668 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | precise/vectorization.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:13.571068 | # Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | runner/setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:13.655788 | #!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
MycroftAI/mycroft-precise | https://github.com/MycroftAI/mycroft-precise | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | runner/precise_runner/runner.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:15.620538 | # Python 2 + 3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/ego_status_mlp_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.341286 | from typing import Any, Dict, List, Optional, Union
import torch
from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from torch.optim import Optimizer
from torch.optim.lr_scheduler import LRScheduler
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.datacla... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_callback.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.365831 | from typing import Any, Dict, Optional, Union
import cv2
import numpy as np
import numpy.typing as npt
import pytorch_lightning as pl
import torch
import torchvision.utils as vutils
from nuplan.common.actor_state.oriented_box import OrientedBox
from nuplan.common.actor_state.state_representation import StateSE2
from n... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/human_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.369016 | from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.dataclasses import AgentInput, Scene, SensorConfig, Trajectory
class HumanAgent(AbstractAgent):
"""Privileged agent interface of human operator."""
... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/abstract_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.374517 | from abc import ABC, abstractmethod
from typing import Dict, List, Union
import pytorch_lightning as pl
import torch
from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from navsim.common.dataclasses import AgentInput, SensorConfig, Trajectory
from navsim.planning.training.abstrac... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_config.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.378614 | from dataclasses import dataclass
from typing import Tuple
import numpy as np
from nuplan.common.actor_state.tracked_objects_types import TrackedObjectType
from nuplan.common.maps.abstract_map import SemanticMapLayer
@dataclass
class TransfuserConfig:
"""Global TransFuser config."""
image_architecture: str ... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_backbone.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.381686 | """
Implements the TransFuser vision backbone.
"""
import copy
import math
import timm
import torch
import torch.nn.functional as F
from torch import nn
from navsim.agents.transfuser.transfuser_config import TransfuserConfig
class TransfuserBackbone(nn.Module):
"""Multi-scale Fusion Transformer for image + LiD... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/constant_velocity_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.383502 | import numpy as np
from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.dataclasses import AgentInput, SensorConfig, Trajectory
class ConstantVelocityAgent(AbstractAgent):
"""Constant velocity baseline a... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_agent.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.397816 | from typing import Any, Dict, List, Optional, Union
import pytorch_lightning as pl
import torch
from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from torch.optim import Optimizer
from torch.optim.lr_scheduler import LRScheduler
from navsim.agents.abstract_agent import AbstractA... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_features.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.964292 | from enum import IntEnum
from typing import Any, Dict, List, Tuple
import cv2
import numpy as np
import numpy.typing as npt
import torch
from nuplan.common.actor_state.oriented_box import OrientedBox
from nuplan.common.actor_state.state_representation import StateSE2
from nuplan.common.actor_state.tracked_objects_type... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/common/dataclasses.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.996166 | from __future__ import annotations
import io
import os
import pickle
import warnings
from dataclasses import asdict, dataclass, fields
from pathlib import Path
from typing import Any, BinaryIO, Dict, List, Optional, Tuple, Union
import numpy as np
import numpy.typing as npt
from nuplan.common.actor_state.state_repres... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_model.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.998349 | from typing import Dict
import numpy as np
import torch
import torch.nn as nn
from nuplan.planning.simulation.trajectory.trajectory_sampling import TrajectorySampling
from navsim.agents.transfuser.transfuser_backbone import TransfuserBackbone
from navsim.agents.transfuser.transfuser_config import TransfuserConfig
fro... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/common/dataloader_private.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:21.999240 | # dataloader only for private test
from __future__ import annotations
import lzma
import pickle
from pathlib import Path
from typing import Any, Dict, List, Tuple
from collections import defaultdict
from tqdm import tqdm
from navsim.common.dataclasses import AgentInput, Scene, SceneFilter, SensorConfig
from navsim.pl... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/common/dataloader.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.006037 | from __future__ import annotations
import lzma
import pickle
from pathlib import Path
from typing import Any, Dict, List, Tuple
from tqdm import tqdm
from navsim.common.dataclasses import AgentInput, Scene, SceneFilter, SensorConfig
from navsim.planning.metric_caching.metric_cache import MetricCache
FrameList = Lis... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/agents/transfuser/transfuser_loss.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.007250 | from typing import Dict
import torch
import torch.nn.functional as F
from scipy.optimize import linear_sum_assignment
from navsim.agents.transfuser.transfuser_config import TransfuserConfig
from navsim.agents.transfuser.transfuser_features import BoundingBox2DIndex
def transfuser_loss(targets: Dict[str, torch.Tenso... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/common/enums.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.030552 | from enum import IntEnum
class SceneFrameType(IntEnum):
"""Intenum for scene frame types."""
ORIGINAL = 0
SYNTHETIC = 1
class StateSE2Index(IntEnum):
"""Intenum for SE(2) arrays."""
_X = 0
_Y = 1
_HEADING = 2
@classmethod
def size(cls):
valid_attributes = [
... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/evaluate/pdm_score.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.059471 | from typing import List
import numpy as np
import numpy.typing as npt
import pandas as pd
from nuplan.common.actor_state.ego_state import EgoState
from nuplan.common.actor_state.state_representation import StateSE2, TimePoint
from nuplan.common.geometry.convert import relative_to_absolute_poses
from nuplan.planning.si... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/metric_caching/metric_cache.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.590483 | from __future__ import annotations
import lzma
import pickle
from dataclasses import dataclass
from pathlib import Path
from typing import List, Optional
from nuplan.common.actor_state.ego_state import EgoState
from nuplan.common.actor_state.state_representation import TimePoint
from nuplan.common.utils.io_utils impo... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/metric_caching/metric_cache_processor.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.620492 | import pathlib
from typing import Any, Dict, List, Optional, Tuple
import numpy as np
from nuplan.common.actor_state.agent import Agent
from nuplan.common.actor_state.oriented_box import OrientedBox
from nuplan.common.actor_state.state_representation import StateSE2, StateVector2D
from nuplan.common.actor_state.static... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/metric_caching/metric_caching_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.621812 | from __future__ import annotations
from typing import Any, Tuple, Type, Union
import numpy as np
import numpy.typing as npt
from scipy.interpolate import interp1d
from navsim.planning.simulation.planner.pdm_planner.utils.pdm_geometry_utils import normalize_angle
class StateInterpolator:
"""Helper function to i... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/scenario_builder/navsim_scenario_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.626637 | from typing import Dict, List, Optional
import numpy as np
import numpy.typing as npt
from nuplan.common.actor_state.agent import Agent
from nuplan.common.actor_state.ego_state import EgoState
from nuplan.common.actor_state.oriented_box import OrientedBox
from nuplan.common.actor_state.scene_object import SceneObjectM... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/metric_caching/caching.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.628183 | import gc
import logging
import os
import uuid
from pathlib import Path
from typing import Any, Dict, List, Optional, Union
from hydra.utils import instantiate
from nuplan.planning.training.experiments.cache_metadata_entry import (
CacheMetadataEntry,
CacheResult,
save_cache_metadata,
)
from nuplan.plannin... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/scenario_builder/navsim_scenario.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:22.683801 | from __future__ import annotations
import warnings
from typing import Any, Generator, List, Optional, Set, Tuple, Type, cast
from nuplan.common.actor_state.ego_state import EgoState
from nuplan.common.actor_state.state_representation import StateSE2, TimeDuration, TimePoint
from nuplan.common.actor_state.vehicle_para... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/builders/observation_builder.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:23.605452 | from typing import cast
from hydra.utils import instantiate
from nuplan.planning.scenario_builder.abstract_scenario import AbstractScenario
from nuplan.planning.simulation.observation.abstract_observation import AbstractObservation
from omegaconf import DictConfig
def build_observations(observation_cfg: DictConfig, ... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/builders/worker_pool_builder.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:23.607049 | import logging
from hydra.utils import instantiate
from nuplan.planning.script.builders.utils.utils_type import is_target_type, validate_type
from nuplan.planning.utils.multithreading.worker_parallel import SingleMachineParallelExecutor
from nuplan.planning.utils.multithreading.worker_pool import WorkerPool
from nupla... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/builders/planner_builder.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:23.698296 | from typing import List, Optional, Type, cast
from hydra._internal.utils import _locate
from hydra.utils import instantiate
from nuplan.planning.scenario_builder.abstract_scenario import AbstractScenario
from nuplan.planning.simulation.planner.abstract_planner import AbstractPlanner
from omegaconf import DictConfig
... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_create_submission_pickle_challenge.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.180738 | import logging
import os
import pickle
import traceback
from pathlib import Path
from typing import Dict
import hydra
from hydra.utils import instantiate
from omegaconf import DictConfig
from tqdm import tqdm
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.dataclasses import SceneFilter, Tra... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_metric_caching.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.262610 | import logging
import hydra
from nuplan.planning.script.builders.logging_builder import build_logger
from omegaconf import DictConfig
from navsim.planning.metric_caching.caching import cache_data
from navsim.planning.script.builders.worker_pool_builder import build_worker
logger = logging.getLogger(__name__)
CONFIG... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/builders/simulation_builder.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.263104 | import logging
import os
from typing import List, Optional
from hydra.utils import instantiate
from nuplan.common.utils.distributed_scenario_filter import DistributedMode, DistributedScenarioFilter
from nuplan.planning.scenario_builder.nuplan_db.nuplan_scenario_builder import NuPlanScenarioBuilder
from nuplan.planning... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_dataset_caching.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.279153 | import logging
import os
import uuid
from pathlib import Path
from typing import Any, Dict, List, Optional, Union
import hydra
import pytorch_lightning as pl
from hydra.utils import instantiate
from nuplan.planning.utils.multithreading.worker_pool import WorkerPool
from nuplan.planning.utils.multithreading.worker_util... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_create_submission_pickle.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.356465 | import logging
import os
import pickle
import traceback
from pathlib import Path
from typing import Dict
import hydra
from hydra.utils import instantiate
from omegaconf import DictConfig
from tqdm import tqdm
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.dataclasses import SceneFilter, Tra... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_pdm_score.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.697999 | import logging
import os
import traceback
import uuid
from dataclasses import fields
from datetime import datetime
from pathlib import Path
from typing import Dict, List, Tuple, Union
import hydra
import numpy as np
import pandas as pd
from hydra.utils import instantiate
from nuplan.common.actor_state.state_representa... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_pdm_score_from_submission.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:24.895851 | import logging
import pickle
import traceback
from dataclasses import fields
from datetime import datetime
from pathlib import Path
from typing import Dict, List, Tuple
import hydra
import numpy as np
import pandas as pd
from hydra.utils import instantiate
from nuplan.common.actor_state.state_representation import Sta... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_pdm_score_one_stage.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:26.008730 | import logging
import os
import traceback
import uuid
from dataclasses import fields
from datetime import datetime
from pathlib import Path
from typing import Dict, List, Union
import hydra
import numpy as np
import pandas as pd
from hydra.utils import instantiate
from nuplan.common.actor_state.state_representation im... |
autonomousvision/navsim | https://github.com/autonomousvision/navsim | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | navsim/planning/script/run_training.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:26.128678 | import logging
from pathlib import Path
from typing import Tuple
import hydra
import pytorch_lightning as pl
from hydra.utils import instantiate
from omegaconf import DictConfig
from torch.utils.data import DataLoader
from navsim.agents.abstract_agent import AbstractAgent
from navsim.common.dataclasses import SceneFi... |
LeCAR-Lab/dial-mpc | https://github.com/LeCAR-Lab/dial-mpc | null | null | null | null | 966 | null | null | apache-2.0 | null | null | null | null | null | null | null | dial_mpc/deploy/dial_plan.py | null | null | null | null | null | null | Python | 2026-05-04T02:37:28.509306 | import os
from dataclasses import dataclass
import time
from multiprocessing import shared_memory
import importlib
import sys
import yaml
import argparse
import numpy as np
from tqdm import tqdm
import art
import emoji
import functools
from functools import partial
import jax
from jax import numpy as jnp
from mujoco ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.