然后我用笔记本工作,我不能进口火把-闪电里的东西。import pytorch_lightning as plModuleNotFoundErrorTraceback (most recent call last)----> 2 import pytorch_lightning as pl
ModuleNotFoundError: No
如果这个问题有什么错误,很抱歉。我来自PyTorch背景,但我需要使用TFRecordDataset来阅读TFRecord的内容。_tfr_iter)RuntimeError: __iter__() is only supported inside of tf.function or when eager execution
Refer to https://pytorch.org/docs/master/generated/torch.nn.Module.html#torch.nn.Module.state_dict for我看了一下state_dict() 的实现,但是我仍然不明白为什么我会得到错误,因为len(args)应该是0:
def state_dict(self, *args, destination=Nonedeprecated. nn.Module.state_dict will not accept