Thank you very much for answering.But the error appears:
Traceback (most recent call last):
File “C:\Users\hp\Downloads\efficient_densenet_pytorch-master\demoEmotion.py”, line 320, in 
fire.Fire(demo)
File “C:\Users\hp\Anaconda3\envs\tf-gpu\lib\site-packages\fire\core.py”, line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File “C:\Users\hp\Anaconda3\envs\tf-gpu\lib\site-packages\fire\core.py”, line 468, in _Fire
target=component.name)
File “C:\Users\hp\Anaconda3\envs\tf-gpu\lib\site-packages\fire\core.py”, line 672, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File “C:\Users\hp\Downloads\efficient_densenet_pytorch-master\demoEmotion.py”, line 298, in demo
n_epochs=n_epochs, batch_size=batch_size, seed=seed)
File “C:\Users\hp\Downloads\efficient_densenet_pytorch-master\demoEmotion.py”, line 177, in train
n_epochs=n_epochs,
File “C:\Users\hp\Downloads\efficient_densenet_pytorch-master\demoEmotion.py”, line 54, in train_epoch
input = input.cuda()
AttributeError: ‘numpy.ndarray’ object has no attribute 'cuda
Although ‘input’ is converted as torch.tensor,ValueError: expected sequence of length 528 at dim 1 (got 76) appears.Please answer how can I solve.Thank a lot!