Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CHENGY12/PLOT
/ functions
Functions
329 in github.com/CHENGY12/PLOT
⨍
Functions
329
◇
Types & classes
88
Function
load
Load a CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model check
plot-adapter/clip/clip.py:86
Function
load
Load a CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model check
plot-coop/clip/clip.py:86
Function
load_clip_to_cpu
(name)
plot-adapter/clip/clip.py:185
Function
load_model
(directory, epoch=None)
plot-adapter/main_imagenet.py:20
Function
load_model
(directory, epoch=None)
plot-adapter/main.py:24
Method
load_model
(self, directory, epoch=None)
plot-pp/trainers/plotpp.py:365
Function
normalize8
(I)
visualization.py:9
Method
num_classes
(self)
plot-adapter/datasets/utils.py:147
Method
read_and_split_data
( image_dir, p_trn=0.5, p_val=0.2, ignored=[], new_cnames=None )
plot-adapter/datasets/dtd.py:28
Method
read_data
(self, split_file)
plot-adapter/datasets/oxford_pets.py:31
Method
read_data
(self)
plot-adapter/datasets/oxford_flowers.py:31
Method
read_data
(self, cname2lab, text_file)
plot-adapter/datasets/sun397.py:27
Method
read_data
(self, cname2lab, text_file)
plot-adapter/datasets/ucf101.py:27
Method
read_data
(self, image_dir, anno_file, meta_file)
plot-adapter/datasets/stanford_cars.py:26
Method
save_split
(train, val, test, filepath, path_prefix)
plot-adapter/datasets/oxford_pets.py:79
Method
split_dataset_by_domain
Split a dataset, i.e. a list of Datum objects, into domain-specific groups stored in a dictionary. Args: data_source (lis
plot-adapter/datasets/utils.py:268
Method
split_trainval
(trainval, p_val=0.2)
plot-adapter/datasets/oxford_pets.py:56
Method
stem
(x)
plot-pp/clip/model.py:139
Method
stem
(x)
plot-adapter/clip/model.py:136
Method
stem
(x)
plot-coop/clip/model.py:187
Function
tokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
plot-pp/clip/clip.py:185
Function
tokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
plot-adapter/clip/clip.py:208
Function
tokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input s
plot-coop/clip/clip.py:185
Method
train_u
(self)
plot-adapter/datasets/utils.py:127
Method
train_x
(self)
plot-adapter/datasets/utils.py:123
Method
update_classname
(self, dataset_old)
plot-pp/datasets/eurosat.py:66
Method
update_classname
(self, dataset_old)
plot-adapter/datasets/eurosat.py:40
Method
update_classname
(self, dataset_old)
plot-coop/datasets/eurosat.py:66
Method
val
(self)
plot-adapter/datasets/utils.py:131
← previous
301–329 of 329, ranked by callers