dillondavis / recurrentattentionconvolutionalneuralnetwork Goto Github PK
View Code? Open in Web Editor NEWhttp://openaccess.thecvf.com/content_cvpr_2017/papers/Fu_Look_Closer_to_CVPR_2017_paper.pdf
http://openaccess.thecvf.com/content_cvpr_2017/papers/Fu_Look_Closer_to_CVPR_2017_paper.pdf
Sorry, I want to know can the code run?
how to get dataset,Thanks
ModuleNotFoundError: No module named 'torchnet'
where is the torchnet
Have you modified the batch_size?
I am interested in your code. I want to know the accuracy can you get after three steps in the CUBS database.
cnn_params_to_optimize = model.cnn1.parameters() + model.cnn2.parameters()
TypeError: unsupported operand type(s) for +: 'generator' and 'generator'
Hi, where is the "apn.pt.pt" file?
def init_with_apn2(self):
ckpt = torch.load('../checkpoints/CUBS/apn2.pt.pt')
self.apn1.load_state_dict(ckpt['apn1_state_dict'])
when use batch_size=32 not 1, get this error info:
File "/mnt/workspace/py/RA_CNN/src/manager.py", line 163, in train
self.do_epoch(epoch_idx, optimizer, optimize_class=optimize_class)
File "/mnt/workspace/py/RA_CNN/src/manager.py", line 113, in do_epoch
self.do_batch(optimizer, batch, label, optimize_class=optimize_class)
File "/mnt/workspace/py/RA_CNN/src/manager.py", line 101, in do_batch
self.criterion_rank(scores[i-1], scores[i], label).backward(retain_graph=retain_graph)
File "/root/anaconda3/lib/python3.6/site-packages/torch/autograd/variable.py", line 167, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, retain_variables)
File "/root/anaconda3/lib/python3.6/site-packages/torch/autograd/init.py", line 87, in backward
grad_variables, create_graph = _make_grads(variables, grad_variables, create_graph)
File "/root/anaconda3/lib/python3.6/site-packages/torch/autograd/init.py", line 35, in _make_grads
raise RuntimeError("grad can be implicitly created only for scalar outputs")
RuntimeError: grad can be implicitly created only for scalar outputs
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.