approximately-equivariant-nets's People
Forkers
cagatayyildizapproximately-equivariant-nets's Issues
e2cnn?
Hey,
Thanks for this nice repo! It seems that e2cnn
should have been included in the requirements? Can you double-check?
Cheers,
Cagatay
multiprocess error on mac
Hi,
I installed the dependencies on my mac (without cuda toolkits). Then I run into a weird execution time error. This feels like a mac-specific issue as the code runs just fine on my Linux workstation. I paste the log below - the first few lines are particularly suspicious.
python3 run_model.py --relaxed_symmetry=Rotation --hidden_dim=92 --num_layers=5 --out_length=6 --alpha=1e-5 --batch_size=16 --learning_rate=0.001 --decay_rate=0.95
0
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
number of paramters: 5.596178
0
0
0
0
0
0
0
0
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
number of paramters: 5.596178
number of paramters: 5.596178
number of paramters: 5.596178
number of paramters: 5.596178
number of paramters: 5.596178
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
number of paramters: 5.596178
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
number of paramters: 5.596178
Relaxed_Rot_SteerConvNet_bz16_pred6_lr0.001_decay0.95_hid92_layers5_alpha1e-05
number of paramters: 5.596178
Traceback (most recent call last):
Traceback (most recent call last):
File "<string>", line 1, in <module>
Traceback (most recent call last):
File "<string>", line 1, in <module>
Traceback (most recent call last):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 1, in <module>
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
Tra File "<string>", line 1, in <module>
ceback (most recent call last):
File "<string>", line 1, in <module>
Traceback (most recent call last):
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "<string>", line 1, in <module>
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Users/cagatay/opt/anaconda3/en prepare(preparation_data)
vs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
prepare(preparation_data)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
prepare(preparation_data)
prepare(preparation_data)
exitcode = _main(fd, parent_sentinel)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
prepare(preparation_data)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
prepare(preparation_data)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
exitcode = _main(fd, parent_sentinel)
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 125, in _main
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
prepare(preparation_data)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
main_content = runpy.run_path(main_path,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 288, in run_path
return _run_module_code(code, init_globals, run_name,
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
return _run_module_code(code, init_globals, run_name,
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
_run_c _run_code(code, mod_globals, init_globals,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
return _run_module_code(code, init_globals, run_name,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
ode(code, mod_globals, init_globals,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
_run_code(code, mod_globals, init_globals,
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
_run_code(code, mod_globals, init_globals,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
_run_code(code, mod_globals, init_globals,
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
_run_code(code, mod_globals, init_globals,
_run_code(code, mod_globals, init_globals,
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
exec(code, run_globals)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/runpy.py", line 87, in _run_code
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
exec(code, run_globals)
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
exec(code, run_globals)
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
for xx, yy in train_loader:
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
for xx, yy in train_loader:
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
return _MultiProcessingDataLoaderIter(self)
return _MultiProcessingDataLoaderIter(self)
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/li return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
b/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
return self._get_iterator()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
return _MultiProcessingDataLoaderIter(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
w.start()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
self._popen = self._Popen(self)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
F return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return _default_context.get_context().Process._Popen(process_obj)
return _default_context.get_context().Process._Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
ile "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
return Popen(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
super().__init__(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
self._launch(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
self._launch(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
self._launch(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
self._launch(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
self._launch(process_obj)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
prep_data = spawn.get_preparation_data(process_obj._name)
prep_data = spawn.get_preparation_data(process_obj._name)
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
self._launch(process_obj)
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
_check_not_importing_main()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
_check_not_importing_main()
_check_not_importing_main()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
_check_not_importing_main()
raise RuntimeError('''
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and yoRuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
u have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. self._launch(process_obj)
raise RuntimeError('''
prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 42, in _launch
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name prep_data = spawn.get_preparation_data(process_obj._name)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable. File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
_check_not_importing_main()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
_check_not_importing_main()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if th raise RuntimeError('''
e program
is not going to be frozen to produce an executable.
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
Traceback (most recent call last):
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1011, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/queues.py", line 113, in get
if not self._poll(timeout):
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/connection.py", line 257, in poll
return self._poll(timeout)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/connection.py", line 424, in _poll
r = wait([self], timeout)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/multiprocessing/connection.py", line 931, in wait
ready = selector.select(timeout)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/selectors.py", line 416, in select
fd_event_list = self._selector.poll(timeout)
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 91083) exited unexpectedly with exit code 1. Details are lost due to multiprocessing. Rerunning with num_workers=0 may give better error trace.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/run_model.py", line 200, in <module>
train_rmse.append(train_epoch(train_loader, model, optimizer, loss_fun))
File "/Users/cagatay/Nextcloud/projects/approximately-equivariant-nets/utils.py", line 43, in train_epoch
for xx, yy in train_loader:
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 530, in __next__
data = self._next_data()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1207, in _next_data
idx, data = self._get_data()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1173, in _get_data
success, data = self._try_get_data()
File "/Users/cagatay/opt/anaconda3/envs/aen/envs/aen/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1024, in _try_get_data
raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e
RuntimeError: DataLoader worker (pid(s) 91078, 91079, 91080, 91081, 91082, 91083, 91084, 91085) exited unexpectedly
data_gen.ipynb has issues
Issue 1: phiflow undefined.
You need to change import to this
from PhiFlow import *
Issue #2: NameError: name 'StaggeredGrid' is not defined
I have no idea what this is. Can you give the notebook a try? thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.