dora-idefics2 / operators /constants.py
haixuantao's picture
Improving overall components
0827444
raw
history blame contribute delete
853 Bytes
import numpy as np
# LOCATION = {
# "LIVING_ROOM": np.array([[0.0, 0.3], [-1.5, 0.7]]),
# "KITCHEN": np.array([[0.0, 0.5], [1.5, -1.0]]),
# }
LOCATION = {
"HOME": {
"OFFICE": np.array([[1.0, 1.0]]),
"KITCHEN": np.array([[0.0, 1.0]]),
"LIVING_ROOM": np.array([[0.0, 0.3], [-1.5, 0.7]]),
},
"OFFICE": {"KITCHEN": np.array([[0.0, 1.0]]), "HOME": np.array([0.0, 0.0])},
"KITCHEN": {
"OFFICE": np.array([[1.0, 1.0]]),
"HOME": np.array([0.0, 0.0]),
},
}
# LOCATION = {
# "HOME": {
# "OFFICE": np.array([[0.0, 0.3], [-1.5, 0.7]]),
# "KITCHEN": np.array([[-1.0, -0.5], [1.5, 0.0], [1.5, 0.5]]),
# "LIVING_ROOM": np.array([[0.0, 0.3], [-1.5, 0.7]]),
# },
# "OFFICE": {
# "KITCHEN": np.array([[0.0, 0.5], [1.5, -1.0]]),
# },
# "KITCHEN": {
# "OFFICE": np.array([[-1.5, -0.5], [-1.5, 1.0]]),
# },
# }