Thanks for replying … i leave one of this lines but got another error
img = img.reshape((1,img.shape[0], img.shape[1], img.shape[2]))   #<------ this
img = img.unsqueeze(0) #<------ or this

but got another error

output = model(img)
File “/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py”, line 889, in _call_impl
result = self.forward(*input, **kwargs)
File “/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/container.py”, line 119, in forward
input = module(input)
File “/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/module.py”, line 889, in _call_impl
result = self.forward(*input, **kwargs)
File “/home/user/.local/lib/python3.6/site-packages/torch/nn/modules/dropout.py”, line 58, in forward
return F.dropout(input, self.p, self.training, self.inplace)
File “/home/user/.local/lib/python3.6/site-packages/torch/nn/functional.py”, line 1076, in dropout
return VF.dropout(input, p, training) if inplace else _VF.dropout(input, p, training)
TypeError: dropout(): argument ‘input’ (position 1) must be Tensor, not tuple