Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/mmc4
/ functions
Functions
20 in github.com/allenai/mmc4
⨍
Functions
20
◇
Types & classes
1
↓ 4 callers
Function
base_solve
Gives hungarian solve for a non-square matrix. it's roughly from: NOTE: this ** MINIMIZES COST **. So, if you're handing sims, make sure to
scripts/linear_assignment.py:12
↓ 2 callers
Method
_test_random_100
(self, dtype)
scripts/linear_assignment.py:76
↓ 2 callers
Function
download_images_multiprocess
Download images with multiprocessing
scripts/download_images.py:79
↓ 2 callers
Function
save_status
(args, shelve_filename)
scripts/download_images.py:175
↓ 1 callers
Function
_get_local_image_filename
(row)
scripts/download_images.py:112
↓ 1 callers
Function
call
(cmd)
scripts/download_images.py:69
↓ 1 callers
Function
gather_image_info
Gather image info from the input jsonl
scripts/download_images.py:191
↓ 1 callers
Function
gather_image_info_shard
Gather image info from shard
scripts/download_images.py:205
↓ 1 callers
Function
get_image_assignments
returns a list assignments of length N_images such that assignments[i] is the sentence index that image i was assigned to.
scripts/compute_assignments.py:18
↓ 1 callers
Function
local
(args)
scripts/download_images.py:219
↓ 1 callers
Function
main
()
scripts/download_images.py:240
↓ 1 callers
Function
main
()
scripts/compute_assignments.py:33
↓ 1 callers
Function
parse_args
()
scripts/download_images.py:40
↓ 1 callers
Function
parse_args
()
scripts/compute_assignments.py:12
Function
_df_split_apply
(tup_arg)
scripts/download_images.py:73
Function
download_image
(row)
scripts/download_images.py:116
Method
test_1024
(self)
scripts/linear_assignment.py:116
Method
test_basic
(self)
scripts/linear_assignment.py:66
Method
test_random_100_float32
(self)
scripts/linear_assignment.py:113
Method
test_random_100_float64
(self)
scripts/linear_assignment.py:110