nexusapoorvacus / deepvariationstructuredrl Goto Github PK
View Code? Open in Web Editor NEWA PyTorch implementation of the "Deep Variation-structured Reinforcement Learning for Visual Relationship and Attribute Detection" paper by Liang et. al.
A PyTorch implementation of the "Deep Variation-structured Reinforcement Learning for Visual Relationship and Attribute Detection" paper by Liang et. al.
Hi!I am very grateful to you for implementing this article, because I searched for many times and did not find the specific implementation of the code. But I still want to ask you where I can find the training set you used, the training set I went with the paper tip to find, and so many kinds that I do not know which one can be used in your code. Thank you very much for your reply. If you feel that I am offensive in language, please forgive me, because English is not my native language. I am not very clear translation is polite. wish you a happy life.
Trying to run ./make.sh
to build the faster rcnn part of the whole model fails with the following error:
Traceback (most recent call last):
File "build.py", line 3, in
from torch.utils.ffi import create_extension
File "/usr/local/lib/python2.7/dist-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
I assume that build.py
expects an older pytorch (<=0.4) than the one I'm using (1.0).
Is there any way to fix this (provided that, everything else failing, I can always create an environment with pytorch=0.4.0)?
Hi,
Is it possible to get checkpoints of this model for visual genome dataset?
Thank you
After being run in project root directory, setup.sh
fails with
Traceback (most recent call last):
File "create_data_samples.py", line 69, in
data = create_data_sample_file()
File "create_data_samples.py", line 18, in create_data_sample_file
for im_name in os.listdir(IMAGE_DIR)[:NUM_IMAGES_TRAIN + NUM_IMAGES_VALIDATION + NUM_IMAGES_TEST]:
FileNotFoundError: [Errno 2] No such file or directory: '/data/apoorvad/VG_Scene_Graph/VG_100K/'
This is a directory never mentioned in the README
, so it wasn't created when following the instructions.
Hi @nexusapoorvacus ,
I ran the script in test mode, and the following error occurred.
python main.py --test
Loading graph.pickle...
Done!
Loading image embedding model...
Done!
Loading Fast-RCNN...
Done!
Creating DQN models...
Done!
Creating optimizers...
Done!
Creating replay buffer...
Done!
Loading model parameters...
Compiling encoders...
Loading tables...
Packing up...
Traceback (most recent call last):
File "main.py", line 169, in <module>
test_images_state = evaluate(test_data_loader)
NameError: name 'evaluate' is not defined
Are there solutions to this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.