Unverified Commit 331e1372 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #3258 from cclauss/fix-five-undefined-names

CogMap: Fix five undefined names
parents 10805b06 eae72a5a
......@@ -17,6 +17,7 @@
"""
import numpy as np
import src.rotation_utils as ru
import src.utils as utils
def get_camera_matrix(width, height, fov):
"""Returns a camera matrix from image size and fov."""
......
......@@ -34,7 +34,7 @@ def write_image(image_path, rgb):
f.write(img_str)
def read_image(image_path, type='rgb'):
with fopen(file_name, 'r') as f:
with fopen(image_path, 'r') as f:
I = PIL.Image.open(f)
II = np.array(I)
if type == 'rgb':
......
......@@ -20,6 +20,7 @@ import numpy as np
import networkx as nx
import itertools
import logging
from datasets.nav_env import get_path_ids
import graph_tool as gt
import graph_tool.topology
import graph_tool.generation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment