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

Function read_pickle

CV/Pytorch_classification/ShuffleNet/utils.py:110–113  ·  view source on GitHub ↗
(file_name: str)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected