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: the JSON object must be str, bytes or bytearray, not bool #28

Open
Phulieu opened this issue Oct 27, 2020 · 6 comments
Open

Comments

@Phulieu
Copy link

Phulieu commented Oct 27, 2020

I work with Cityscapes dataset but when training there is a error like this :
Traceback (most recent call last):
File "main.py", line 388, in
main()
File "main.py", line 217, in main
vis = Visualizer(port=opts.vis_port,
File "I:\DeepLabV3Plus-Pytorch-master\utils\visualizer.py", line 14, in init
ori_win = json.loads(ori_win)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool

@Angel0003
Copy link

遇到了和你同样的问题,请问你怎么解决的?

@Phulieu
Copy link
Author

Phulieu commented Nov 1, 2020

遇到了和你同样的问题,请问你怎么解决的?

I still can not detect the problem.
Do you have any recommendations ??
And please speak in English.
Thank you

@fanjing136
Copy link

problem: TypeError: the JSON object must be str, bytes or bytearray, not bool
I have the same problem. How can I solve it?

@koujunxia
Copy link

How I have the same problem. How can I solve it?

@Lzz-kit
Copy link

Lzz-kit commented Apr 27, 2021

I have the same problem. Can anyone answer that? Many thanks

@VainF
Copy link
Owner

VainF commented Apr 28, 2021

Fixed! Please try the latest version.

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

6 participants