3

I am running my pytorch program in V.S. Code, but, I am getting the following errors:-

torch.tensor is not callable

I have followed this answer https://stackoverflow.com/a/53572939/13218692 and added the following lines in my Settings.json file in V.S. Code, but, I am still getting an error. Any help would be highly appreciated! Thanks!

enter image description here

enter image description here

Pressing_Keys_24_7
  • 1,755
  • 2
  • 7
  • 33

1 Answers1

1

add this line after it: ,"--disable-msg=not-callable" just like this enter image description here

zyko tan
  • 26
  • 1