johannespischinger / senti_anal

MIT License
2 stars 0 forks source link

hydra model train fails due to relative path #56

Closed michaelfeil closed 2 years ago

michaelfeil commented 2 years ago
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '../../models'
(py39senti) michi@lenovo-michi:~/senti_anal$ 

fails, but

(py39senti) michi@lenovo-michi:~/senti_anal/opensentiment/models$ python train_model.py works.

Proposal: We should not overwrite the hydra: dir: path setting, and leave it to hydra instead

max-27 commented 2 years ago

This is strange because for this works perfectly fine (on a Mac OS). I will research on the behaviour of the working directory of hydra

michaelfeil commented 2 years ago

resolved with new config