yolov3 Real Time Object Detection in tensorflow 2.2

2020-05-26 Thread Emad Boctor
Hello, I would like to share with you my implementation of yolov3 object detector in tensorflow 2.2 https://github.com/emadboctorx/yolov3-keras-tf2 Features tensorflow-2.X--keras-functional-api cpu-gpu support Random weights and DarkNet weights support csv-xml annotation parsers. Anchor gen

Re: Custom logging function

2020-05-26 Thread Cameron Simpson
On 26May2020 13:25, zljubi...@gmail.com wrote: Furthermore, I must disable logging to stdout. Normally logging does not happen to stdout. Do you have something which does? Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list

Re: Custom logging function

2020-05-26 Thread Peter Otten
zljubi...@gmail.com wrote: > Is this OK? > > import logging > > LOG_LEVEL = logging.getLevelName('DEBUG') > > logging.basicConfig(level=LOG_LEVEL, > format='%(asctime)s %(levelname)s %(name)s > %(funcName)-20s %(message)s', datefmt='%d.%m.%Y >

Re: Phyton 32 or 64 bit?

2020-05-26 Thread Alex Kaye
To all: The only stupid question is one that wasn't asked ! Alex On Tue, May 26, 2020 at 12:42 PM MRAB wrote: > On 2020-05-26 19:13, R. A. Hoffman via Python-list wrote: > > > > Good afternoon, > > > > > > > > Please forgive what may be a stupid question. I’m an absolute beginner > and downloa

Re: Behaviour of os.path.join

2020-05-26 Thread Grant Edwards
On 2020-05-26, Dennis Lee Bieber wrote: > I'd also like to point out that the nasty "\\" is not needed. Windows > API understands "/" -- it is only the command line "DOS" shell that > requires back-slash Many, many applications also require that backslashes be used in path arguments (wheth

Re: Custom logging function

2020-05-26 Thread zljubisic
Furthermore, I must disable logging to stdout. -- https://mail.python.org/mailman/listinfo/python-list

Re: Custom logging function

2020-05-26 Thread zljubisic
Is this OK? import logging LOG_LEVEL = logging.getLevelName('DEBUG') logging.basicConfig(level=LOG_LEVEL, format='%(asctime)s %(levelname)s %(name)s %(funcName)-20s %(message)s', datefmt='%d.%m.%Y %H:%M:%S') stderr = logging.StreamHandler() stderr.termin

Re: Behaviour of os.path.join

2020-05-26 Thread DL Neil via Python-list
On 27/05/20 5:23 AM, BlindAnagram wrote: On 26/05/2020 16:59, Mats Wichmann wrote: On 5/26/20 8:56 AM, BlindAnagram wrote: I came across an issue that I am wondering whether I should report as an issue. If I have a directory, say: base='C:\\Documents' and I use os.path.join() as follows:

Re: Phyton 32 or 64 bit?

2020-05-26 Thread MRAB
On 2020-05-26 19:13, R. A. Hoffman via Python-list wrote: Good afternoon, Please forgive what may be a stupid question. I’m an absolute beginner and downloaded Python 3.8 for 32bits. I’m running Windows 10 on 64bit machine. Question 1 : is it OK to run Python (32 bits) on my machine

Re: Behaviour of os.path.join

2020-05-26 Thread MRAB
On 2020-05-26 16:52, Dennis Lee Bieber wrote: On Tue, 26 May 2020 16:22:27 +0100, Ben Bacarisse declaimed the following: I think it is. The picture is messy on Windows (because of the drive letter) but absolute paths are usually taken to be those that start with a path separator. Th

Phyton 32 or 64 bit?

2020-05-26 Thread R. A. Hoffman via Python-list
Good afternoon,   Please forgive what may be a stupid question. I’m an absolute beginner and downloaded Python 3.8 for 32bits. I’m running Windows 10 on 64bit machine.   Question 1 : is it OK to run Python (32 bits) on my machine ?   Question 2 : The download went fine. How do I go from her

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 18:51, Mats Wichmann wrote: > On 5/26/20 10:57 AM, BlindAnagram wrote: >> On 26/05/2020 16:59, Mats Wichmann wrote: >>> On 5/26/20 8:56 AM, BlindAnagram wrote: I came across an issue that I am wondering whether I should report as an issue. If I have a directory, say: >

Re: Issues regarding running of application.

2020-05-26 Thread Mats Wichmann
On 5/26/20 8:45 AM, Meet Agrawal wrote: > I have tried and installed the python application a lot of times but after > the installation get completed and I try to run the application, it say > that api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. > > Please tell me a way out. Inst

Re: Behaviour of os.path.join

2020-05-26 Thread Mats Wichmann
On 5/26/20 10:57 AM, BlindAnagram wrote: > On 26/05/2020 16:59, Mats Wichmann wrote: >> On 5/26/20 8:56 AM, BlindAnagram wrote: >>> I came across an issue that I am wondering whether I should report as an >>> issue. If I have a directory, say: >>> >>> base='C:\\Documents' >>> >>> and I use os.pa

Issues regarding running of application.

2020-05-26 Thread Meet Agrawal
I have tried and installed the python application a lot of times but after the installation get completed and I try to run the application, it say that api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Please tell me a way out. -- https://mail.python.org/mailman/listinfo/python-lis

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 16:59, Mats Wichmann wrote: > On 5/26/20 8:56 AM, BlindAnagram wrote: >> I came across an issue that I am wondering whether I should report as an >> issue. If I have a directory, say: >> >> base='C:\\Documents' >> >> and I use os.path.join() as follows: >> >> join(base, '..\\..\\

Re: Behaviour of os.path.join

2020-05-26 Thread Rhodri James
On 26/05/2020 18:07, BlindAnagram wrote: On 26/05/2020 17:46, MRAB wrote: On 2020-05-26 16:48, BlindAnagram wrote: On 26/05/2020 16:22, Ben Bacarisse wrote: BlindAnagram writes: I came across an issue that I am wondering whether I should report as an issue.  If I have a directory, say:  

Re: Behaviour of os.path.join

2020-05-26 Thread Rhodri James
On 26/05/2020 18:01, BlindAnagram wrote: On 26/05/2020 17:09, Stefan Ram wrote: Mats Wichmann writes: an absolute path is one that starts with the pathname separator. The Python Library Reference does not use the term "pathname separator". It uses "directory separator" (os.sep) and

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 17:46, MRAB wrote: > On 2020-05-26 16:48, BlindAnagram wrote: >> On 26/05/2020 16:22, Ben Bacarisse wrote: >>> BlindAnagram writes: >>> I came across an issue that I am wondering whether I should report as an issue.  If I have a directory, say:   base='C:\\Do

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 17:09, Stefan Ram wrote: > Mats Wichmann writes: >> an absolute path is one that starts with the pathname separator. > > The Python Library Reference does not use the term > "pathname separator". It uses "directory separator" > (os.sep) and "filename separator" ('/' on Unix).

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 16:59, Mats Wichmann wrote: > On 5/26/20 8:56 AM, BlindAnagram wrote: >> I came across an issue that I am wondering whether I should report as an >> issue. If I have a directory, say: >> >> base='C:\\Documents' >> >> and I use os.path.join() as follows: >> >> join(base, '..\\..\\

Re: Behaviour of os.path.join

2020-05-26 Thread MRAB
On 2020-05-26 16:48, BlindAnagram wrote: On 26/05/2020 16:22, Ben Bacarisse wrote: BlindAnagram writes: I came across an issue that I am wondering whether I should report as an issue. If I have a directory, say: base='C:\\Documents' and I use os.path.join() as follows: join(base, '..\

Re: Behaviour of os.path.join

2020-05-26 Thread Mats Wichmann
On 5/26/20 8:56 AM, BlindAnagram wrote: > I came across an issue that I am wondering whether I should report as an > issue. If I have a directory, say: > > base='C:\\Documents' > > and I use os.path.join() as follows: > > join(base, '..\\..\\', 'build', '') > > I obtain as expected from th

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 16:25, Stefan Ram wrote: > BlindAnagram writes: >> The documentation says that an absolute path in the parameter list for >> join will discard all previous parameters but '\\' is not an absoute path! > > The source code for "join" in "ntpath.py" does not seem to > bother to call

Re: Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
On 26/05/2020 16:22, Ben Bacarisse wrote: > BlindAnagram writes: > >> I came across an issue that I am wondering whether I should report as an >> issue. If I have a directory, say: >> >> base='C:\\Documents' >> >> and I use os.path.join() as follows: >> >> join(base, '..\\..\\', 'build', '')

Re: Behaviour of os.path.join

2020-05-26 Thread Ben Bacarisse
BlindAnagram writes: > I came across an issue that I am wondering whether I should report as an > issue. If I have a directory, say: > > base='C:\\Documents' > > and I use os.path.join() as follows: > > join(base, '..\\..\\', 'build', '') It rather defeats the purpose of os.sep if you inclu

Behaviour of os.path.join

2020-05-26 Thread BlindAnagram
I came across an issue that I am wondering whether I should report as an issue. If I have a directory, say: base='C:\\Documents' and I use os.path.join() as follows: join(base, '..\\..\\', 'build', '') I obtain as expected from the documentation: 'C:\\Documents\\..\\..\\build\\' But if I

Re: Custom logging function

2020-05-26 Thread Peter Otten
zljubi...@gmail.com wrote: > Hi, > > I have a case in which I have to use custom function for logging. > For example, all messages should go to stderr and end with '\r\n'. > > Can I somehow use standard python logging module but send all message to > stderr with '\r\n' line endings? Isn't that