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: __init__() got an unexpected keyword argument 'max_value' #13

Open
9527feng opened this issue Sep 28, 2019 · 3 comments
Open

Comments

@9527feng
Copy link

hi,Excuse me, what's the problem?
when I running "python main.py --create_dataset --exp 1 --json":

File "F:\机器学习\源代码\wireframe-master\wireframe-master\junc\datasets\utils.py", line 333, in load_data_and_save
bar = pb.ProgressBar(widgets=[ '[ ', pb.Bar(), ' ][ ', pb.Timer(), ' ]'], max_value=pb.UnknownLength)
TypeError: init() got an unexpected keyword argument 'max_value'

@huangkuns
Copy link
Owner

Hi, this line of code is not quite necessary actually, it just shows the progress, you can delete the "progressBar" related code.
Possible reasons (1) you need install proper packages related to progressBar, (2) you need use python3 to run the code.

@9527feng
Copy link
Author

Thank you very much for your answer.
I have a new problem. Can you help me?
Now I can visualize the wireframe, but another difficulty I encountered is that I cannot visualize the junctions.(As shown in the second line of figure 2 in the paper)

@ronaldpan
Copy link

change 'max_value' to 'maxval'

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

3 participants