error of ones_like(): argument 'input' (position 1) must be Tensor,
#2
by
karambos
- opened
TypeError: ones_like(): argument 'input' (position 1) must be Tensor, not NoneType
i am getting this error
modification in code:
inputs['pixel_values'] = inputs['pixel_values']
karambos
changed discussion title from
error
to error of inputs['pixel_values'] = inputs['pixel_values']
karambos
changed discussion title from
error of inputs['pixel_values'] = inputs['pixel_values']
to error of ones_like(): argument 'input' (position 1) must be Tensor,
ModuleNotFoundError: No module named 'model'
ones_like error getting for the input['pixel_values'] and for multiple input image shape of tensor is [1,1,3,224,224]
can you solve this problem
TypeError: ones_like(): argument 'input' (position 1) must be Tensor, not NoneType
i am getting this error
modification in code:
inputs['pixel_values'] = inputs['pixel_values']
Hey, have you solved this problem?