cad0p / maskrcnn-modanet

A Mask R-CNN Keras implementation with Modanet annotations on the Paperdoll dataset
MIT License
73 stars 18 forks source link

setup: lmdb, pandas, sqlalchemy as dependency #6

Closed hachreak closed 5 years ago

hachreak commented 5 years ago

Could you add lmdb and pandas as package dependency inside setup.py? Because otherwise it fails here.

15:02 $ maskrcnn-modanet datasets arrange
/home/hachreak/.maskrcnn-modanet/savedvars.json
Traceback (most recent call last):
  File "/tmp/maskrcnn-modanet/bin/maskrcnn-modanet", line 11, in <module>
    load_entry_point('maskrcnn-modanet', 'console_scripts', 'maskrcnn-modanet')()
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmp/maskrcnn-modanet/maskrcnn_modanet/cli/main.py", line 89, in arrange
    from .. import arrange_images
  File "/tmp/maskrcnn-modanet/maskrcnn_modanet/arrange_images.py", line 10, in <module>
    import lmdb
ImportError: No module named lmdb
(maskrcnn-modanet) ✔ /tmp/maskrcnn-modanet/datasets 
15:04 $ maskrcnn-modanet datasets arrange
/home/hachreak/.maskrcnn-modanet/savedvars.json
Traceback (most recent call last):
  File "/tmp/maskrcnn-modanet/bin/maskrcnn-modanet", line 11, in <module>
    load_entry_point('maskrcnn-modanet', 'console_scripts', 'maskrcnn-modanet')()
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/maskrcnn-modanet/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmp/maskrcnn-modanet/maskrcnn_modanet/cli/main.py", line 89, in arrange
    from .. import arrange_images
  File "/tmp/maskrcnn-modanet/maskrcnn_modanet/arrange_images.py", line 12, in <module>
    import pandas as pd
ImportError: No module named pandas