Skip to content

Commit

Permalink
fixed bug: now vector2angles is taken from EYEDIAP_utils instead of E…
Browse files Browse the repository at this point in the history
…YEDIAP_misc
  • Loading branch information
crisie committed Oct 22, 2018
1 parent b112dda commit 70324d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions generate_training_CS.py
Expand Up @@ -11,18 +11,17 @@
# Change directories accordingly! See generate_training_FT for more details and comments.
# python_version :3.5.5
# ==============================================================================
from EYEDIAP_utils import *
from data_utils import *
import numpy as np
import os
import sys

my_path = "F:\\EYEDIAP"
EYEDIAP_path = "EYEDIAP"
import os
import sys
sys.path.append(os.path.join(my_path, EYEDIAP_path, 'Scripts'))
from EYEDIAP_misc import *
from data_utils import get_normalized_data, write_vector_to_file

from EYEDIAP_utils import *
from data_utils import *
import numpy as np
from data_utils import get_normalized_data, write_vector_to_file


# Exp 5 refers to the Continuous Screen EYEDIAP subset
Expand Down Expand Up @@ -59,7 +58,8 @@
print("frames_done", frames_done)
print("Session: ", session)
# NOTE: this may not work depending on session. Change accordingly.
session_str = get_session_string(session_num)
#session_str = get_session_string(session_num)
session_str = session

# EYEDIAP data path
head_track_file = os.path.join(my_path, EYEDIAP_path, 'Data', session_str, 'head_pose.txt')
Expand Down

0 comments on commit 70324d9

Please sign in to comment.