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
colab demo to local #105
Comments
The error occurs while"python setup.py build" |
Not sure why, that part is not my code. It's the problem of https://gitlab.com/vedanuj/vqa-maskrcnn-benchmark.git. What does the error say? |
Hi @ruotianluo . /home/urp3/.conda/envs/IC/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:150:56: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] /usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined /home/urp3/.conda/envs/IC/lib/python3.6/site-packages/torch/include/c10/util/Half-inl.h(21): error: identifier "__half_as_short" is undefined /home/urp3/.conda/envs/IC/lib/python3.6/site-packages/torch/include/THC/THCNumerics.cuh(208): error: identifier "__half_as_ushort" is undefined 4 errors detected in the compilation of "/tmp/tmpxft_00011212_00000000-7_ROIAlign_cuda.cpp1.ii". These are some parts of the error message. |
Seems like the problem of vqa-maskrcnn. Maybe related to the torch viersion. |
Thank you @ruotianluo |
How do you run eval.py? Do you download the 12in1 features shown here https://github.com/ruotianluo/ImageCaptioning.pytorch/tree/master/data#image-features-option-3--vilbert-12-in-1-features. |
$ python tools/eval.py --model model.pth --infos_path infos.pkl --image_folder blah --num_images 10 I used this code to run the eval.py and used the pretrained model shown below (Trained with vilbert-12-in-1 feature:) |
Eval.py only support arbitrary image eval trained with resnet features. |
Thank you @ruotianluo |
Hi, thank you for sharing your nice work.
I think the performance of the colab demo is better than the eval.py.
I tried to make the colab demo to the local code, but i am struggling with it.
Is there any way to implement colab demo in local?
The text was updated successfully, but these errors were encountered: