Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SRTA013ORIGINAL opened this issue May 2, 2020 · 0 comments
Open

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

SRTA013ORIGINAL opened this issue May 2, 2020 · 0 comments

Comments

@SRTA013ORIGINAL
Copy link

SRTA013ORIGINAL commented May 2, 2020

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'

@SRTA013ORIGINAL SRTA013ORIGINAL changed the title need more than 2 values to unpack TypeError: a bytes-like object is required, not 'str' May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant