Traceback (most recent call last):


 "train.py", line 70, in <module>

main()


 "train.py", line 67, in main

trainer.train()


 "/data/rudra/3E/text_detection/DB/trainer.py", line 80, in train

self.validate(validation_loaders, model, epoch, self.steps)


 "/data/rudra/3E/text_detection/DB/trainer.py", line 150, in validate

loader, model, True)


 "/data/rudra/3E/text_detection/DB/trainer.py", line 178, in validate_step

batch, output)
ValueError: not enough values to unpack (expected 2, got 1)

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/google_assistant/report_state.py", line 70, in inital_report

await google_config.async_report_state_all({"devices": {"states": entities}})


 "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 125, in async_report_state_all

await gather(*jobs)


 "/usr/src/homeassistant/homeassistant/components/google_assistant/http.py", line 224, in async_report_state

await self.async_call_homegraph_api(REPORT_STATE_BASE_URL, data)


 "/usr/src/homeassistant/homeassistant/components/google_assistant/http.py", line 199, in async_call_homegraph_api

await self._async_update_token()


 "/usr/src/homeassistant/homeassistant/components/google_assistant/http.py", line 154, in _async_update_token

_get_homegraph_jwt(


 "/usr/src/homeassistant/homeassistant/components/google_assistant/http.py", line 51, in _get_homegraph_jwt

return jwt.encode(jwt_raw, key, algorithm="RS256").decode("utf-8")


 "/usr/local/lib/python3.8/site-packages/jwt/api_jwt.py", line 64, in encode

return super(PyJWT, self).encode(


 "/usr/local/lib/python3.8/site-packages/jwt/api_jws.py", line 113, in encode

key = alg_obj.prepare_key(key)


 "/usr/local/lib/python3.8/site-packages/jwt/algorithms.py", line 207, in prepare_key

key = load_pem_public_key(key, backend=default_backend())


 "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 20, in load_pem_public_key

return backend.load_pem_public_key(data)


 "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1124, in load_pem_public_key

self._handle_key_loading_error()


 "/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1382, in _handle_key_loading_error

raise ValueError("Could not deserialize key data.")
ValueError: Could not deserialize key data.
