prajwalkr / SnapSudoku

Extract and solve Sudoku from an image
MIT License
250 stars 40 forks source link

TypeError: a bytes-like object is required, not 'str' #34

Open SRTA013ORIGINAL opened 4 years ago

SRTA013ORIGINAL commented 4 years ago

python sudoku.py /test/test1.jpg Traceback (most recent call last): File "sudoku.py", line 42, in snap_sudoku(image_path=sys.argv[1]) File "sudoku.py", line 32, in snap_sudoku grid = ''.join(cell for cell in get_cells(image_path)) File "sudoku.py", line 32, in grid = ''.join(cell for cell in get_cells(image_path)) File "sudoku.py", line 22, in get_cells net = create_net(rel_path='/networks/net') File "sudoku.py", line 17, in create_net sizes, biases, wts = pickle.load(in_file) TypeError: a bytes-like object is required, not 'str'