• Ashwin Bharambe's avatar
    Prepare for python3 compatibility [1] · 88dd4b1d
    Ashwin Bharambe authored
    Summary:
    This is a first step towards python3 compatibility. Specifically, it
    tackles:
    
     - `cPickle`: uses six.moves
     - `Queue`: uses six.moves
     - `urllib2`: uses six.moves and changes `urllib2.urlopen` to `urllib.request.urlopen`
    
    Also, fundamentally it changes the types of all config "byte" types to
    "string" types. Those configurations aren't un-encoded byte streams but very
    specifically ascii (or unicode encoded) strings which are specified and
    consumed by human eyes.
    
    Reviewed By: rbgirshick
    
    Differential Revision: D9662024
    
    fbshipit-source-id: b8372f685b57ec4260ae881a2f8bb7967f337b10
    88dd4b1d
Name
Last commit
Last update
.github Loading commit data...
cmake Loading commit data...
configs Loading commit data...
demo Loading commit data...
detectron Loading commit data...
docker Loading commit data...
projects/GN Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
GETTING_STARTED.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
MODEL_ZOO.md Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...