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
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/datasets/custom.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.481807
# dataset settings Only for test dataset_type = 'CustomDepthDataset' data_root = 'data/custom/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) crop_size= (416, 544) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='DepthLoadAnnotations'), dict(...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/default_runtime.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.483480
# yapf:disable log_config = dict( interval=50, hooks=[ dict(type='TextLoggerHook', by_epoch=True), dict(type='TensorboardImageLoggerHook', by_epoch=True), ]) # yapf:enable dist_params = dict(backend='nccl') log_level = 'INFO' load_from = None resume_from = None workflow = [('train', 1)] cudn...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/adabins.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.491632
# model settings model = dict( type='DepthEncoderDecoder', backbone=dict( type='EfficientNet'), decode_head=dict( type='AdabinsHead', in_channels=[24, 40, 64, 176, 2048], up_sample_channels=[128, 256, 512, 1024, 2048], channels=128, # last one align_corners=Tr...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/depthformer_swin.py
null
null
null
null
null
null
Python
2026-05-04T02:36:46.953457
# model settings norm_cfg = dict(type='SyncBN', requires_grad=True) backbone_norm_cfg = dict(type='LN', requires_grad=True) conv_stem_norm_cfg = dict(type='BN', requires_grad=True) model = dict( type='DepthEncoderDecoder', pretrained=None, backbone=dict( type='DepthFormerSwin', pretrain_img_...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/adabins/adabins_efnetb5ap_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.032649
_base_ = [ '../_base_/models/adabins.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] norm_cfg = dict(type='BN', requires_grad=True) model = dict( decode_head=dict( min_depth=1e-3, max_depth=80, norm_cfg=norm_cfg), ) f...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/schedules/schedule_24x.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.034051
# optimizer max_lr=1e-4 optimizer = dict(type='AdamW', lr=max_lr, betas=(0.95, 0.99), weight_decay=0.01,) # learning policy lr_config = dict( policy='OneCycle', max_lr=max_lr, div_factor=25, final_div_factor=100, by_epoch=False, ) optimizer_config = dict(grad_clip=dict(max_norm=35, norm_type=2)) # r...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/newcrfs.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.035747
# model settings norm_cfg = dict(type='LN', requires_grad=True) model = dict( type='DepthEncoderDecoder', backbone=dict( type='SwinTransformer', pretrain_img_size=224, embed_dims=96, patch_size=4, window_size=7, mlp_ratio=4, depths=[2, 2, 6, 2], nu...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/densedepth.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.036841
# model settings norm_cfg = dict(type='BN', requires_grad=True) model = dict( type='DepthEncoderDecoder', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3, 4), style='pytorch', norm_cfg=norm_cfg), decode_head=dict( type='De...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/_base_/models/dpt.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.065141
model = dict( type='DepthEncoderDecoder', backbone=dict( type='VisionTransformer', img_size=224, embed_dims=768, num_layers=12, num_heads=12, out_indices=(2, 5, 8, 11), final_norm=False, with_cls_token=True, output_cls_token=True), deco...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/binsformer/binsformer_swinl_22k_w7_kitti.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.115854
_base_ = [ '../_base_/models/binsformer.py', '../_base_/default_runtime.py', ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, depths=[2, 2, 18, 2], num_h...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/adabins/adabins_efnetb5ap_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.145654
_base_ = [ '../_base_/models/adabins.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] norm_cfg = dict(type='BN', requires_grad=True) model = dict( decode_head=dict( min_depth=1e-3, max_depth=10, norm_cfg=norm_cfg), ) fin...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/adabins/adabins_r50_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.147296
_base_ = [ '../_base_/models/adabins.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] norm_cfg = dict(type='BN', requires_grad=True) model = dict( backbone=dict( _delete_=True, type='ResNet', depth=50, num_stages=4, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/binsformer/binsformer_swinl_22k_w7_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.148660
_base_ = [ '../_base_/models/binsformer.py', '../_base_/default_runtime.py', ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, depths=[2, 2, 18, 2], num_h...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/binsformer/binsformer_swinl_22k_w7_nyu2sunrgbd.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.567536
_base_ = [ '../_base_/models/binsformer.py', '../_base_/default_runtime.py', '../_base_/datasets/sun_rgbd.py', ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/bts/bts_r50_kitti_benchmark_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.628367
_base_ = [ '../_base_/models/bts.py', '../_base_/datasets/kitti_benchmark.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='torchvision://resnet50'), ), decode_head=dict( ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/bts/bts_r50_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.679765
_base_ = [ '../_base_/models/bts.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='torchvision://resnet50'), ), decode_head=dict( final_no...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/bts/bts_r50_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.680969
_base_ = [ '../_base_/models/bts.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='torchvision://resnet50'), ), decode_head=dict( final_norm...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/binsformer/binsformer_swint_w7_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.710488
_base_ = [ '../_base_/models/binsformer.py', '../_base_/default_runtime.py', ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth', # noqa backbone=dict( embed_dims=96, depths=[2, 2, 6, 2], num_heads=[3...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/depthformer/depthformer_swinl_22k_w7_kitti.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.741801
_base_ = [ '../_base_/models/depthformer_swin.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/depthformer/depthformer_swinl_22k_w7_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.789232
_base_ = [ '../_base_/models/depthformer_swin.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, de...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/depthformer/depthformer_swint_w7_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.822058
_base_ = [ '../_base_/models/depthformer_swin.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth', # noqa backbone=dict( embed_dims=96, depths=...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/depthformer/depthformer_swinl_22k_w7_kitti_benchmark.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.853563
_base_ = [ '../_base_/models/depthformer_swin.py', '../_base_/datasets/kitti_benchmark.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/depthformer/depthformer_swinl_22k_w7_nyu2sunrgbd.py
null
null
null
null
null
null
Python
2026-05-04T02:36:47.872650
_base_ = [ '../_base_/models/depthformer_swin.py', '../_base_/datasets/sun_rgbd.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/dpt/dpt_vit-b16_kitti.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.198569
_base_ = [ '../_base_/models/dpt.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( pretrained='nfs/checkpoints/jx_vit_base_p16_224-80ecf9dd.pth', decode_head=dict( min_depth=1e-3, max_depth=80, loss_decode=d...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/dpt/dpt_vit-b16_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.259174
_base_ = [ '../_base_/models/dpt.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( pretrained='nfs/checkpoints/jx_vit_base_p16_224-80ecf9dd.pth', decode_head=dict( min_depth=1e-3, max_depth=10, loss_decode=dic...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_kitti_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.287941
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='nfs/saves/SimIPU/checkpoints/SimIPU_kitti_50e.pth'), ), ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_kitti_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.311205
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='nfs/saves/SimIPU/checkpoints/SimIPU_kitti_50e.pth'), ), de...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_scratch_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.401658
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( decode_head=dict( scale_up=True, min_depth=1e-3, max_depth=80, loss_decode=dict( type='SigLoss', vali...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/newcrfs/newcrfs_swinl_22k_w7_nyu.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.402917
_base_ = [ '../_base_/models/newcrfs.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py' ] model = dict( pretrained='https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_large_patch4_window7_224_22k.pth', # noqa backbone=dict( embed_dims=192, depths=[2, ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_supervise_imagenet_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.422894
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='torchvision://resnet50'), ), decode_head=dict( s...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_scratch_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.424364
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( decode_head=dict( scale_up=True, min_depth=1e-3, max_depth=10, loss_decode=dict( type='SigLoss', valid_...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_supervise_imagenet_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.513874
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='torchvision://resnet50'), ), decode_head=dict( sca...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_waymo_kitti_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.514419
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/kitti.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='nfs/saves/SimIPU/checkpoints/SimIPU_waymo_50e.pth'), ), ...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
configs/simipu/simipu_r50_waymo_nyu_24e.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.787631
_base_ = [ '../_base_/models/densedepth.py', '../_base_/datasets/nyu.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_24x.py' ] model = dict( backbone=dict( init_cfg=dict( type='Pretrained', checkpoint='nfs/saves/SimIPU/checkpoints/SimIPU_waymo_50e.pth'), ), de...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.873736
# Copyright (c) OpenMMLab. All rights reserved. import warnings import mmcv from packaging.version import parse from .version import __version__, version_info MMCV_MIN = '1.3.7' # MMCV_MAX = '1.4.0' MMCV_MAX = '1.5.0' # have tested on mmcv==1.5.0 def digit_version(version_str: str, length: int = 4): """Convert...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/apis/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.874203
# Copyright (c) OpenMMLab. All rights reserved. from .inference import inference_depther, init_depther from .test import multi_gpu_test, single_gpu_test from .train import get_root_logger, set_random_seed, train_depther __all__ = [ 'get_root_logger', 'set_random_seed', 'train_depther', 'init_depther', 'inferen...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/apis/inference.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.902865
# Copyright (c) OpenMMLab. All rights reserved. import matplotlib.pyplot as plt import mmcv import torch from mmcv.parallel import collate, scatter from mmcv.runner import load_checkpoint from depth.datasets.pipelines import Compose from depth.models import build_depther def init_depther(config, checkpoint=None, dev...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/apis/train.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.982072
# Copyright (c) OpenMMLab. All rights reserved. import random import warnings import numpy as np import torch from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from mmcv.runner import build_optimizer, build_runner from depth.core import DistEvalHook, EvalHook from depth.datasets import build_dataloa...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/apis/test.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.983003
# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import tempfile import warnings import mmcv import numpy as np import torch from mmcv.engine import collect_results_cpu, collect_results_gpu from mmcv.image import tensor2imgs from mmcv.runner import get_dist_info def np2tmp(array, temp_file_name=N...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/core/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:48.983628
# Copyright (c) OpenMMLab. All rights reserved. from .evaluation import * # noqa: F401, F403 from .utils import * # noqa: F401, F403
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/core/evaluation/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:49.039557
# Copyright (c) OpenMMLab. All rights reserved. from .metrics import metrics, eval_metrics, pre_eval_to_metrics from .eval_hooks import EvalHook, DistEvalHook
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/core/evaluation/eval_hooks.py
null
null
null
null
null
null
Python
2026-05-04T02:36:49.165373
# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import warnings import torch.distributed as dist from mmcv.runner import DistEvalHook as _DistEvalHook from mmcv.runner import EvalHook as _EvalHook from torch.nn.modules.batchnorm import _BatchNorm class EvalHook(_EvalHook): """Single GPU Eva...
zhyever/Monocular-Depth-Estimation-Toolbox
https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
depth/core/evaluation/metrics.py
null
null
null
null
null
null
Python
2026-05-04T02:36:49.220290
from collections import OrderedDict import mmcv import numpy as np import torch def calculate(gt, pred): if gt.shape[0] == 0: return np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, np.nan thresh = np.maximum((gt / pred), (pred / gt)) a1 = (thresh < 1.25).mean() a2 = (thresh < ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/aws.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.524728
""" Copyright 2018-present Engie SA. 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 writing, softwa...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/duo_universal.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.526220
import time import html5lib from furl import furl from . import version class DuoMfaDenied(BaseException): """ Duo MFA was denied """ def __init__(self, response): super(DuoMfaDenied, self).__init__(f'Duo MFA denied: {response}') class OktaDuoUniversal: """ Handles interaction with the Duo Un...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/default.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.527105
""" Copyright 2018-present Engie SA / Synetis. 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 writi...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.553435
__all__ = ['config', 'aws', 'main', 'ui', 'common', 'default', 'duo', 'errors', 'okta_classic', 'okta_identity_engine', 'registered_authenticators', 'u2f', 'webauthn'] version = '2.8.2'
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/common.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.553982
""" Copyright 2018-present SYNETIS. 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 writing, softwar...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/dummy_webauthn.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.556245
""" Copyright 2024-present Nike, 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 writing, softw...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.557710
#!/usr/bin/env python3 """ Copyright 2016-present Nike, 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...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/duo.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.564924
# 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 writing, software # distributed under the Li...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/errors.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.565459
""" Copyright 2018-present Krzysztof Nazarewski. 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 wri...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/config.py
null
null
null
null
null
null
Python
2026-05-04T02:36:51.605579
""" Copyright 2016-present Nike, 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 writing, softw...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/registered_authenticators.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.160586
import hashlib import json import os class RegisteredAuthenticators(object): """ The RegisteredAuthenticators class manages a json file of gimme-aws-creds registered FIDO authenticators. There's a list of RegisteredAuthenticator entries with two fields: - cred_id_hash - sha512 of the ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.191069
import os def read_fixture(file_name): """Read a fixture file""" fixture_path = os.path.join(os.path.dirname(__file__), 'fixtures', file_name) with open(fixture_path, 'r', encoding='utf-8') as file: return file.read()
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/ui.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.192350
""" Copyright 2018-present Krzysztof Nazarewski. 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 wri...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
lambda/lambda_handler.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.194388
import json import os import sys from okta.framework.ApiClient import ApiClient from okta.framework.OktaError import OktaError def aws_account_info(event, context): # We need access to the entire JSON response from the Okta APIs, so we need to # use the low-level ApiClient instead of UsersClient and AppInsta...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/okta_identity_engine.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.196343
""" Copyright 2016-present Nike, 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 writing, softw...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/u2f.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.197536
""" Copyright 2018-present SYNETIS. 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 writing, s...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/webauthn.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.199261
""" Copyright 2018-present SYNETIS. 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 writing, s...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
gimme_aws_creds/okta_classic.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.217379
""" Copyright 2016-present Nike, 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 writing, softw...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.221563
from setuptools import setup, find_packages with open('requirements.txt') as f: requirements = f.read().splitlines() setup( name='gimme_aws_creds', version='2.8.2', install_requires=requirements, author='Eric Pierce', author_email='eric.pierce@nike.com', description="A CLI to get temporary...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_aws_resolver.py
null
null
null
null
null
null
Python
2026-05-04T02:36:52.236989
"""Unit tests for gimme_aws_creds""" import sys import unittest from contextlib import contextmanager from io import StringIO import requests import responses import gimme_aws_creds.common as common_def from gimme_aws_creds.aws import AwsResolver from tests import read_fixture class TestAwsResolver(unittest.TestCas...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_config.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.232987
"""Unit tests for gimme_aws_creds.config.Config""" import argparse import unittest from unittest.mock import patch from gimme_aws_creds import ui, errors from gimme_aws_creds.config import Config from tests.user_interface_mock import MockUserInterface class TestConfig(unittest.TestCase): """Class to test Config ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.233911
import shutil import unittest from unittest.mock import patch from gimme_aws_creds import errors from gimme_aws_creds.common import RoleSet from gimme_aws_creds.main import GimmeAWSCreds from tests.user_interface_mock import MockUserInterface class TestMain(unittest.TestCase): APP_INFO = [ RoleSet(idp='i...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_duo_universal_client.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.234932
import json import unittest from unittest.mock import Mock import requests import responses from gimme_aws_creds.duo_universal import OktaDuoUniversal from tests import read_fixture from tests.user_interface_mock import MockUserInterface class TestDuoUniversalClient(unittest.TestCase): def setUp(self): ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_okta_classic_client.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.236220
"""Unit tests for gimme_aws_creds""" import hashlib import json import sys import unittest from contextlib import contextmanager from io import StringIO from unittest.mock import patch from urllib.parse import quote import requests import responses from fido2.attestation import PackedAttestation from fido2.ctap2 impor...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_registered_authenticators.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.837654
import json import os import unittest from gimme_aws_creds.registered_authenticators import RegisteredAuthenticators, RegisteredAuthenticator from tests.user_interface_mock import MockUserInterface class TestConfig(unittest.TestCase): """Class to test RegisteredAuthenticators Class.""" def setUp(self): ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/user_interface_mock.py
null
null
null
null
null
null
Python
2026-05-04T02:36:53.923352
import tempfile from gimme_aws_creds import ui class MockUserInterface(ui.UserInterface): def result(self, result): pass def prompt(self, message): pass def message(self, message): pass def read_input(self, hidden=False): pass def notify(self, message): ...
Nike-Inc/gimme-aws-creds
https://github.com/Nike-Inc/gimme-aws-creds
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
tests/test_okta_identity_engine_client.py
null
null
null
null
null
null
Python
2026-05-04T02:36:54.176922
"""Unit tests for gimme_aws_creds""" import hashlib import json import sys import unittest from contextlib import contextmanager from io import StringIO from unittest.mock import patch from urllib.parse import quote import requests import responses from fido2.attestation import PackedAttestation from fido2.ctap2 impor...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
model.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.613620
from modules import * class Model(): def __init__(self, usernum, itemnum, args, reuse=None): self.is_training = tf.placeholder(tf.bool, shape=()) self.u = tf.placeholder(tf.int32, shape=(None)) self.input_seq = tf.placeholder(tf.int32, shape=(None, args.maxlen)) self.pos = tf.place...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
main.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.616112
import os import time import argparse import tensorflow as tf from sampler import WarpSampler from model import Model from tqdm import tqdm from util import * def str2bool(s): if s not in {'False', 'True'}: raise ValueError('Not a valid boolean string') return s == 'True' parser = argparse.ArgumentP...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
modules.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.633222
# -*- coding: utf-8 -*- #/usr/bin/python2 ''' June 2017 by kyubyong park. kbpark.linguist@gmail.com. https://www.github.com/kyubyong/transformer ''' from __future__ import print_function import tensorflow as tf import numpy as np def positional_encoding(dim, sentence_length, dtype=tf.float32): encoded_vec = np...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
data/DataProcessing.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.633677
import gzip from collections import defaultdict from datetime import datetime def parse(path): g = gzip.open(path, 'r') for l in g: yield eval(l) countU = defaultdict(lambda: 0) countP = defaultdict(lambda: 0) line = 0 dataset_name = 'Beauty' f = open('reviews_' + dataset_name + '.txt', 'w') for l ...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
util.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.638867
import sys import copy import random import numpy as np from collections import defaultdict def data_partition(fname): usernum = 0 itemnum = 0 User = defaultdict(list) user_train = {} user_valid = {} user_test = {} # assume user/item index starting from 1 f = open('data/%s.txt' % fname...
kang205/SASRec
https://github.com/kang205/SASRec
null
null
null
null
967
null
null
apache-2.0
null
null
null
null
null
null
null
sampler.py
null
null
null
null
null
null
Python
2026-05-04T02:36:56.668482
import numpy as np from multiprocessing import Process, Queue def random_neq(l, r, s): t = np.random.randint(l, r) while t in s: t = np.random.randint(l, r) return t def sample_function(user_train, usernum, itemnum, batch_size, maxlen, result_queue, SEED): def sample(): user = np.ra...
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/scripts/auto_run.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.001293
import argparse from vlmeval.smp import * from vlmeval.config import supported_VLM def is_api(x): return getattr(supported_VLM[x].func, 'is_api', False) models = list(supported_VLM) models = [x for x in models if 'fs' not in x] models = [x for x in models if not is_api(x)] exclude_list = ['cogvlm-grounding-genera...
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/scripts/apires_scan.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.005478
import sys from vlmeval import * from vlmeval.dataset import SUPPORTED_DATASETS FAIL_MSG = 'Failed to obtain answer via API.' root = sys.argv[1] if root[-1] in '/\\': root = root[:-1] model_name = root.split('/')[-1] for d in SUPPORTED_DATASETS: fname = f'{model_name}_{d}.xlsx' pth = osp.join(root, fname...
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/setup.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.019080
import re import sys from os.path import exists from setuptools import find_packages, setup def parse_requirements(fname='requirements.txt', with_version=True): """Parse the package dependencies listed in a requirements file but strips specific versioning information. Args: fname (str): path to r...
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/docs/en/conf.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.020284
# flake8: noqa # 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 --------------------------------------------------------...
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/scripts/summarize.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.027707
from vlmeval.smp import * from vlmeval.dataset import SUPPORTED_DATASETS def get_score(model, dataset): file_name = f'{model}/{model}_{dataset}' if listinstr([ 'CCBench', 'MMBench', 'SEEDBench_IMG', 'MMMU', 'ScienceQA', 'AI2D_TEST', 'MMStar', 'RealWorldQA', 'BLINK', 'VisOnlyQA-VLMEvalKit' ...
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/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.028226
import ssl ssl._create_default_https_context = ssl._create_unverified_context # Temporarily bypass SSL certificate verification to download files from oss. try: import torch except ImportError: pass from .smp import * load_env() from .api import * from .dataset import * from .utils import * from .vlm import ...
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/docs/zh-CN/conf.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.048686
# flake8: noqa # 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 --------------------------------------------------------...
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/scripts/data_browser.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.049937
""" pip install gradio # proxy_on first python vis_geochat_data.py # browse data in http://127.0.0.1:10064 """ import os import io import json import copy import time import gradio as gr import base64 from PIL import Image from io import BytesIO from argparse import Namespace # from llava import conversation as con...
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/run.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.055291
import json import os import subprocess from functools import partial # GET the number of GPUs on the node without importing libs like torch def get_gpu_list(): CUDA_VISIBLE_DEVICES = os.environ.get('CUDA_VISIBLE_DEVICES', '') if CUDA_VISIBLE_DEVICES != '': gpu_list = [int(x) for x in CUDA_VISIBLE_DEV...
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/scripts/mmb_eval_gradio.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.107774
from vlmeval.smp import * from vlmeval.tools import EVAL from vlmeval.dataset import build_dataset import gradio as gr HEADER = """ # Welcome to MMBench👏👏 We are delighted that you are willing to submit the evaluation results to the MMBench official website! The evaluation service currently can handle submissions of...
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/bailingmm.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.562355
import base64 from vlmeval.smp import * from vlmeval.api.base import BaseAPI from vlmeval.dataset import DATASET_TYPE from vlmeval.smp.vlm import encode_image_file_to_base64 import time class bailingMMWrapper(BaseAPI): is_api: bool = True def __init__(self, model: str, 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/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.595066
from .gpt import OpenAIWrapper, GPT4V from .hf_chat_model import HFChatModel from .gemini import GeminiWrapper, Gemini from .qwen_vl_api import QwenVLWrapper, QwenVLAPI, Qwen2VLAPI from .qwen_api import QwenAPI from .claude import Claude_Wrapper, Claude3V from .reka import Reka from .glm_vision import GLMVisionAPI from...
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/base.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.596752
import time import random as rd from abc import abstractmethod import os.path as osp import copy as cp from ..smp import get_logger, parse_file, concat_images_vlmeval, LMUDataRoot, md5, decode_base64_to_image_file class BaseAPI: allowed_types = ['text', 'image', 'video'] INTERLEAVE = True INSTALL_REQ = F...
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/bluelm_v_api.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.615805
from vlmeval.smp import * from vlmeval.api.base import BaseAPI import os import json def multimodal(images, text, url, key, temperature=0, max_tokens=1024, history=[]): if images: pics = [] for image in images: with open(image, 'rb') as f: pic = base64.b64encode(f.read(...
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/claude.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.652925
from vlmeval.smp import * from vlmeval.api.base import BaseAPI from time import sleep import base64 import mimetypes from PIL import Image alles_url = 'https://openxlab.org.cn/gw/alles-apin-hub/v1/claude/v1/text/chat' alles_headers = { 'alles-apin-token': '', 'Content-Type': 'application/json' } official_url =...
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/doubao_vl_api.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.655049
from vlmeval.smp import * import os import sys from vlmeval.api.base import BaseAPI import math from vlmeval.dataset import DATASET_TYPE from vlmeval.dataset import img_root_map from io import BytesIO import pandas as pd import requests import json import base64 import time from openai import OpenAI class DoubaoVLWra...
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/cloudwalk.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.657437
from ..smp import * import os from .base import BaseAPI class CWWrapper(BaseAPI): is_api: bool = True def __init__(self, model: str = 'cw-congrong-v2.0', retry: int = 10, wait: int = 5, key: str = None, verbose: bool = True...
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/gemini.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.658431
from vlmeval.smp import * from vlmeval.api.base import BaseAPI headers = 'Content-Type: application/json' class GeminiWrapper(BaseAPI): is_api: bool = True def __init__(self, model: str = 'gemini-1.0-pro', retry: int = 5, wait: int = 5, ke...
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/glm_vision.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.666946
import requests requests.packages.urllib3.disable_warnings() from vlmeval.smp import * from vlmeval.api.base import BaseAPI from vlmeval.dataset import DATASET_TYPE from vlmeval.smp.vlm import encode_image_file_to_base64 class GLMVisionWrapper(BaseAPI): is_api: bool = True def __init__(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/gpt.py
null
null
null
null
null
null
Python
2026-05-04T02:36:59.708014
from ..smp import * import os import sys from .base import BaseAPI APIBASES = { 'OFFICIAL': 'https://api.openai.com/v1/chat/completions', } def GPT_context_window(model): length_map = { 'gpt-4': 8192, 'gpt-4-0613': 8192, 'gpt-4-turbo-preview': 128000, 'gpt-4-1106-preview': 128...
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/hf_chat_model.py
null
null
null
null
null
null
Python
2026-05-04T02:37:00.162622
import os import sys import os.path as osp import torch from ..smp import * def get_gpu_num(model_name): model_name = model_name.lower() kws = { 8: ['65b', '70b'], 4: ['30b', '33b', '35b', '40b'], 2: ['13b', '14b', '20b', '8b'], 1: ['6b', '7b', 'moss'], } for k in [8, 4...
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/hunyuan.py
null
null
null
null
null
null
Python
2026-05-04T02:37:00.167953
from vlmeval.smp import * import os import sys from vlmeval.api.base import BaseAPI import math from vlmeval.dataset import DATASET_TYPE from vlmeval.dataset import img_root_map from io import BytesIO import pandas as pd import requests import json import base64 import time class HunyuanWrapper(BaseAPI): is_api:...
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/kimivl_api.py
null
null
null
null
null
null
Python
2026-05-04T02:37:00.192244
from ..smp import * import os import sys from .base import BaseAPI APIBASES = { 'OFFICIAL': 'http://localhost:8000/v1/chat/completions', } def extract_summary(text: str, bot: str = "◁think▷", eot: str = "◁/think▷") -> str: # 输出截断, 返回空字符串 if bot in text and eot not in text: return "" if eot in...
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/jt_vl_chat.py
null
null
null
null
null
null
Python
2026-05-04T02:37:00.223136
import pandas as pd import requests import json import os import base64 from vlmeval.smp import * from vlmeval.api.base import BaseAPI from vlmeval.dataset import DATASET_TYPE from vlmeval.dataset import img_root_map API_ENDPOINT = 'https://jiutian.10086.cn/kunlun/ingress/api/h3t-eeceff/92390745235a40a484d850be19e1f8...