Open DachunKai opened 2 years ago
Maybe the python version is not correct. Could you try with python 3.7?
On Fri, 4 Mar 2022, 03:54 DachunKai, @.***> wrote:
@.:/rpg_vid2e# pip install esim_torch/ Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple Processing ./esim_torch Preparing metadata (setup.py) ... done Building wheels for collected packages: esim-cuda Building wheel for esim-cuda (setup.py) ... done Created wheel for esim-cuda: filename=esim_cuda-0.0.0-cp39-cp39-linux_x86_64.whl size=237193 sha256=e6c205811b6f6c837460eb7ad07cd488cde0cbd33de6cffed86d3e2619215131 Stored in directory: /tmp/pip-ephem-wheel-cache-l8knfmev/wheels/1a/8b/ca/09c363172d9de1896c08f1bf6f25085684a7962dc84bd09128 Successfully built esim-cuda Installing collected packages: esim-cuda Successfully installed esim-cuda-0.0.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv @.:/rpg_vid2e# python Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:11) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import esim_cuda Traceback (most recent call last): File "", line 1, in ImportError: libc10.so: cannot open shared object file: No such file or directory `
— Reply to this email directly, view it on GitHub https://github.com/uzh-rpg/rpg_vid2e/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBHKKEAA44M4P4MMJTUOYDU6F3PFANCNFSM5P4K2HYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Maybe the python version is not correct. Could you try with python 3.7? … On Fri, 4 Mar 2022, 03:54 DachunKai, @.> wrote: @.:/rpg_vid2e# pip install esim_torch/ Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple Processing ./esim_torch Preparing metadata (setup.py) ... done Building wheels for collected packages: esim-cuda Building wheel for esim-cuda (setup.py) ... done Created wheel for esim-cuda: filename=esim_cuda-0.0.0-cp39-cp39-linux_x86_64.whl size=237193 sha256=e6c205811b6f6c837460eb7ad07cd488cde0cbd33de6cffed86d3e2619215131 Stored in directory: /tmp/pip-ephem-wheel-cache-l8knfmev/wheels/1a/8b/ca/09c363172d9de1896c08f1bf6f25085684a7962dc84bd09128 Successfully built esim-cuda Installing collected packages: esim-cuda Successfully installed esim-cuda-0.0.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv @.:/rpg_vid2e# python Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:11) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. import esim_cuda Traceback (most recent call last): File "", line 1, in ImportError: libc10.so: cannot open shared object file: No such file or directory ` — Reply to this email directly, view it on GitHub <#39>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBHKKEAA44M4P4MMJTUOYDU6F3PFANCNFSM5P4K2HYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>
Ok, I will try. It would be more convenient if you could provice a Dockerfile for vid2e environment.
@DachunKai Have you solved this problem? I meet the same problem as yours
I have solved this problem.
python3 setup.py build_ext
and python3 setup.py install
I reinstalled the setup.py file the way you did, but when I ran the code, I still get the error: python scripts/generate_events.py --i nput_dir=example/upsampled --output_dir=example/events --contrast_threshold_neg=0.2 --contrast_threshold_pos=0.2 --refractory_period_ns=0 Traceback (most recent call last): File "D:aaarpg_vid2e-masteresim_torchscriptsgenerate_events.py", line 4, in < module> from esim_torch import esim_torch ModuleNotFoundError: No module named 'esim_torch' Why is that?