Giter Site home page Giter Site logo

Comments (6)

luka1199 avatar luka1199 commented on May 19, 2024 16

Try to run:

pip uninstall progressbar
pip install progressbar2

You probably have progressbar installed, which uses maxval as an argument for __init__. Progressbar2 uses max_value.

from geo-heatmap.

jk31 avatar jk31 commented on May 19, 2024

Thanks it works now. 👍

from geo-heatmap.

mikechen66 avatar mikechen66 commented on May 19, 2024

Try to run:

pip uninstall progressbar
pip install progressbar2

You probably have progressbar installed, which uses maxval as an argument for __init__. Progressbar2 uses max_value.

Thanks. It works

from geo-heatmap.

deadpool-liu avatar deadpool-liu commented on May 19, 2024

there the error I meet when loading my paddle modle.But i don't know what happended. and this only happend in some modles.

TypeError Traceback (most recent call last)
in
20
21 mot = "4"
---> 22 model = pdx.load_model('./test/MOT20-0{}/YOLOv3/home/aistudio/work/YOLOv3/best_model/'.format(mot))
23 # model.evaluate(eval_dataset, batch_size=1, epoch_id=None, metric=None, return_details=False)

E:\ProgramData\Anaconda3\lib\site-packages\paddlex\cv\models\load_model.py in load_model(model_dir, fixed_input_shape)
125 else:
126 model.test_transforms = build_transforms(
--> 127 model.model_type, info['Transforms'], to_rgb)
128 model.eval_transforms = copy.deepcopy(model.test_transforms)
129

E:\ProgramData\Anaconda3\lib\site-packages\paddlex\cv\transforms_init_.py in build_transforms(model_type, transforms_info, to_rgb)
36 "There's no operator named '{}' in transforms of {}".format(
37 op_name, model_type))
---> 38 transforms.append(getattr(T, op_name)(**op_attr))
39 eval_transforms = T.Compose(transforms)
40 eval_transforms.to_rgb = to_rgb

TypeError: init() got an unexpected keyword argument 'max_val'

from geo-heatmap.

luka1199 avatar luka1199 commented on May 19, 2024

Is this related to geo-heatmap or are you running something else?
This repository has nothing to do with Paddle.

from geo-heatmap.

ShubhamJagtap2000 avatar ShubhamJagtap2000 commented on May 19, 2024

In Jupyter Lab, it is still showing the same error with progressbar and progressbar2, I tried after uninstalling progressbar

from geo-heatmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.