diff --git a/skynet/dgpu/network.py b/skynet/dgpu/network.py index 03fc303..d3c573a 100755 --- a/skynet/dgpu/network.py +++ b/skynet/dgpu/network.py @@ -305,7 +305,7 @@ class NetConnector: logging.warning(f'couldn\'t get ipfs binary data at {link}!') # attempt to decode as image - input_data = Image.open(io.BytesIO(res.raw)) + input_data = Image.open(io.BytesIO(res.read())) logging.info('decoded as image successfully') return input_data