zhang-can / ECO-pytorch

PyTorch implementation for "ECO: Efficient Convolutional Network for Online Video Understanding", ECCV 2018
BSD 2-Clause "Simplified" License
188 stars 93 forks source link

No autograd #25

Open Tord-Zhang opened 6 years ago

Tord-Zhang commented 6 years ago

Hi, I find that before input the tensor into the network, you don't use torch.autograd.Variable to convert a tensor to a Variable. How does this work?

zhang-can commented 6 years ago

Note that in PyTorch 0.4, the Tensor and Variable are merged, so we don't need to convert anymore.

Please refer the following link:

https://pytorch.org/blog/pytorch-0_4_0-migration-guide/