-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.py
executable file
·39 lines (31 loc) · 1.78 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import os
###########################################################################
## Mocaplab ###############################################################
###########################################################################
from src.visualisation import create_all_animations
###########################################################################
## RGBD Object ############################################################
###########################################################################
from src.models.rgbd_object.cnn import rgbd_object_cnn_supervised_training
from src.models.rgbd_object.autoencoder import rgbd_object_ae_unsupervised_training, rgbd_object_ae_unsupervised_contrastive_training
from src.models.rgbd_object.combined_model import rgbd_object_combined_supervised_training, rgbd_object_combined_supervised_contrastive_training
# Run with: nohup python3 -u main.py &
if __name__ == "__main__":
# Change working directory
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
###########################################################################
## Mocaplab ###############################################################
###########################################################################
create_all_animations()
###########################################################################
## RGBD Object ############################################################
###########################################################################
# CNN
#rgbd_object_cnn_supervised_training()
# AE
# rgbd_object_ae_unsupervised_training()
# rgbd_object_ae_unsupervised_contrastive_training()
# Combined model
# rgbd_object_combined_supervised_training()