Closed ricktop123 closed 1 year ago
it seems the self.encoder didnot define above
@ricktop123 Hey please excuse me can you provide the full error log for me please.
@ricktop123 Hey please excuse me can you provide the full error log for me please.
Traceback (most recent call last):
File "/project/Med-PaLM/example.py", line 9, in
I encountered the same error
@ricktop123 @instabaines They are both fixed now, thanks for your patience!
When I run example.py, File "/project/Med-PaLM/example.py", line 9, in
model = MedPalm()
File "/project/Med-PaLM/medpalm/model.py", line 121, in init
self.encoder = ViTransformerWrapper(
AttributeError: cannot assign module before Module.init() call