This commit is contained in:
parent
16db0c341e
commit
638e8e92ea
@ -22,12 +22,12 @@ import traceback
|
|||||||
|
|
||||||
ex = Experiment("CNN")
|
ex = Experiment("CNN")
|
||||||
ex.observers.append(FileStorageObserver('sacred_file_observer'))
|
ex.observers.append(FileStorageObserver('sacred_file_observer'))
|
||||||
try:
|
# try:
|
||||||
ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',
|
# ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017',
|
||||||
db_name='sacred'))
|
# db_name='sacred'))
|
||||||
except Exception as e:
|
# except Exception as e:
|
||||||
traceback.print_exc()
|
# traceback.print_exc()
|
||||||
|
|
||||||
device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')
|
device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user