Closed karan00713 closed 2 years ago
I also got the same error. It seems 'distributed_backend' has been depreicated in newer pytorch versions. This worked for me so maybe you can try the same. Replace 'distributed_backend' with 'strategy' in conf file i.e, "soma_train_conf.yaml". Also, change the same in trainer object in soma_trainer.py
When i tried to run soma on soma dataset using the given ipynb file in jupyter notebook, it gave me error
train_multiple_soma( soma_data_settings=soma_data_settings, soma_train_cfg={ 'soma.expr_id': soma_expr_id, # the experiment ID
)
TypeError: init() got an unexpected keyword argument 'distributed_backend'
My specification : Ubuntu 20.04 python 3.7 pytorch version 1.5.10