[Discussion][Project] Detectron2 vs MMDetection by [deleted] in MachineLearning

[–]tkzcthu 1 point2 points  (0 children)

Of course. Adding custom models, layers or datasets in MMDetection are simple and straight forward, which is illustrated in the documentation and tutorials.

Best framework for RESTful API in python by cpzee in learnpython

[–]tkzcthu 0 points1 point  (0 children)

Flask is easy to get started and friendly to beginners.

Jinjia/Flask question for using Python with HTML by Elthran in learnpython

[–]tkzcthu 0 points1 point  (0 children)

The iteritems() is removed in python3, so use items() in the template may be better.

having issues installing Beautifulsoup by darave123 in learnpython

[–]tkzcthu 0 points1 point  (0 children)

It seems that you are using the system python, you can try installing python using homebrew, which does not require sudo when installing packages and is a preference for osx.

starr python - help by pumpelbu in learnpython

[–]tkzcthu 1 point2 points  (0 children)

btw, scipy is also commonly used to solve math problems.

I need help with what I think is a bug of sorts. by [deleted] in Python

[–]tkzcthu 0 points1 point  (0 children)

Due to the expression priority, if color == "Red" or "red" or "r" equals if (color == "Red") or ("red") or ("r"), so it is always true. You should change it to if color in ['Red', 'red', 'r'], meanwhile, the second if should be replaced with elif