huangkuns / wireframe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: __init__() got an unexpected keyword argument 'max_value'

9527feng opened this issue · comments

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'

commented

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.

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)

change 'max_value' to 'maxval'