Open liorgreenb opened 2 years ago
I ran the SupCon's colab (while replacing the installation with a github repo installation) and received the next error:
TypeError: no implementation found for 'torch.nn.functional.cross_entropy' on types that implement __torch_function__: [<class 'fastai.torch_core.TensorImage'>, <class 'fastai.torch_core.TensorCategory'>]
I'm guessing it may be connected and maybe SupCon is WIP?
Describe the bug SupCon module doesn't exist in pip installation, nor in github release archive.
Although it does exist in github and the docs still exist.
To Reproduce Steps to reproduce the behavior (github):
Steps to reproduce the behavior (pip):
Expected behavior Module should be loaded (like in the docs)
Error with full stack trace
Place between these lines with triple backticks:
Additional context I was following the instructions from https://keremturgutlu.github.io/self_supervised/16%20-%20supcon.html