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

Function read_pickle

CV/Pytorch_classification/DenseNet/utils.py:98–101  ·  view source on GitHub ↗
(file_name: str)

Source from the content-addressed store, hash-verified

96 pickle.dump(list_info, f)
97
98def read_pickle(file_name: str) -> list:
99 with open(file_name, 'rb') as f:
100 info_list = pickle.load(f)
101 return info_list
102
103
104def train_one_epoch(model, optimizer, data_loader, device, epoch):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected