MCPcopy Create free account
hub / github.com/Sirwenhao/Deep-Learning-Notes / read_pickle

Function read_pickle

CV/Pytorch_classification/RegNet/utils.py:112–115  ·  view source on GitHub ↗
(file_name: str)

Source from the content-addressed store, hash-verified

110
111
112def read_pickle(file_name: str) -> list:
113 with open(file_name, 'rb') as f:
114 info_list = pickle.load(f)
115 return info_list
116
117
118def train_one_epoch(model, optimizer, data_loader, device, epoch):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected