Open weihan1 opened 1 year ago
I'm having the same issue, also on MacOS. Are you using an M1 machine?
I'm having the same issue, also on MacOS. Are you using an M1 machine?
No, I'm using an M2, but it worked for me recently when I ran it
This problem may be caused by tensorflow's caching mechanism, I encountered the same problem.
Describe the bug I am playing around with the Attacker API reference and I am running a copy-paste of the first example of textattack.attacker here: https://textattack.readthedocs.io/en/latest/api/attacker.html. The error that I am getting is
ValueError: Trying to load a model of incompatible/unknown type. '/var/folders/6x/gry3zls12tq2cn13snl3qqyc0000gn/T/tfhub_modules/42480c3c7f42bf87d36d4c58fc4374b08dae2909' contains neither 'saved_model.pb' nor 'saved_model.pbtxt'.
To Reproduce Steps to reproduce the behavior:
Expected behavior The expected behaviour would be that it would run error-free.
Screenshots or Traceback
System Information (please complete the following information):
Additional context I didn't have this error at all like two weeks ago. I had accidentally deleted my virtual environment, so I lost all the package versions from the time where everything worked. Hope someone can help me out, thanks!