-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use public kernels #38
Comments
Maybe the original maskrcnn-benchmark guidance can help. It contains the win10 environment installation. |
Thanks for the hint ! This solved the problem for Google colab Execute this python code after cloning this repo and before installing it. def line_prepender(filename, line):
with open(filename, 'r+') as f:
content = f.read()
f.seek(0, 0)
f.write(line.rstrip('\r\n') + '\n' + content)
file1 = r"/content/Scene-Graph-Benchmark/maskrcnn_benchmark/csrc/cuda/deform_conv_cuda.cu"
file2 = r"/content/Scene-Graph-Benchmark/maskrcnn_benchmark/csrc/cuda/deform_pool_cuda.cu"
to_add = """#ifndef AT_CHECK
#define AT_CHECK TORCH_CHECK
#endif"""
line_prepender(filename=file1, line=to_add)
line_prepender(filename=file2, line=to_add) I will soon suggest a Pull request to fix this |
Karim-53
added a commit
to Karim-53/Scene-Graph-Benchmark.pytorch
that referenced
this issue
Jul 18, 2020
fix issue 38: KaihuaTang#38
Karim-53
added a commit
to Karim-53/Scene-Graph-Benchmark.pytorch
that referenced
this issue
Jul 18, 2020
fix issue 38: KaihuaTang#38
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear reader,
I am unable to install this repo on a win10 machine (using these instructions)
and unable to install it on public kernels: Google Colab and the kernel provided by Kaggle.
Steps to Reproduce
Section "install PyTorch Detection (Scene-Graph-Benchmark.pytorch)" will not work
if the installation succeed the output should be
otherwise you can get:
Environment
Additional context
Surprisingly, the installation is successful if the used kernel is not equipped with a GPU, but it is useless.
If we compare
pip freeze
on a CPU kernel with a GPU kernel the difference is:only in GPU:
cupy-cuda101==6.5.0
only in CPU:
-e git+https://github.com/KaihuaTang/Scene-Graph-Benchmark.pytorch.git@db02790a60bb9b9f7c270352820968b2f2089469#egg=maskrcnn_benchmark
because the installation was successfulTherefore, I strongly think that this cannot be solved by installing another version of a certain package, but who knows...
Thank you for your help. Once this would be fixed I hope we can provide a public Jupiter notebook that anyone can run directly and use online.
The text was updated successfully, but these errors were encountered: