06 2023 档案

摘要:查看Conda Pack https://www.anaconda.com/blog/moving-conda-environments 阅读全文
posted @ 2023-06-21 10:14 shendawei 阅读(27) 评论(0) 推荐(0)
摘要:Process Pools 1. apply (func[, args[, kwds]]) 只能执行1次(只能输入一次参数) 支持多个参数(参数统一为元祖类型) 阻塞(只能等待这行代码执行完,才会执行下面的代码) 返回结果为函数执行结果 2. apply_async (func[, args[, k 阅读全文
posted @ 2023-06-16 17:39 shendawei 阅读(62) 评论(0) 推荐(0)
摘要:https://github.com/pytorch/pytorch/issues/13246#issuecomment-905703662 阅读全文
posted @ 2023-06-13 16:39 shendawei 阅读(34) 评论(0) 推荐(0)
摘要:# refcount - (reference count), a mechanism used by the Python interpreter to manage the memory of objects. - When the reference count of an object re 阅读全文
posted @ 2023-06-13 16:36 shendawei 阅读(74) 评论(0) 推荐(0)
摘要:``` python from torch.utils.data import Dataset, DataLoader ``` # 1. Dataset There are 2 different types of datasets: ## 1.1 map-style datasets (most 阅读全文
posted @ 2023-06-12 18:26 shendawei 阅读(40) 评论(0) 推荐(0)