Skip to content

Commit

Permalink
fixing input issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rosaliabq committed Jan 9, 2018
1 parent 235fd80 commit 511fbd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,14 @@ def main():
IMAGETest_DIR = "/home/stephen/Videos/mightyAI/valeo_imgs"
print("Preset input directory", IMAGETest_DIR)
file_names = next(os.walk(IMAGETest_DIR))[2]
if not dirs.get_inputDir().endswith(".txt") and dirs.get_inputDir()!="":
print("Input directory", IMAGETest_DIR)
file_names = next(os.walk(IMAGETest_DIR))[2]
if dirs.get_outputDir()=="":
#IMAGETestResult_DIR = "/home/stephen/Videos/France_TestVideo/PBCS/results"
IMAGETestResult_DIR = "/home/stephen/Videos/mightyAI/testResults"
print("Preset output directory", IMAGETestResult_DIR)
file_names = next(os.walk(IMAGETest_DIR))[2]
file_names = next(os.walk(IMAGETestResult_DIR))[2]

# Load a random image from the images folder

Expand Down

0 comments on commit 511fbd3

Please sign in to comment.