HTTP/HTTPS
适用于http协议:
git clone http://***.git
1 | vim ~/.gitconfig |
SSH协议
适用于ssh协议
git clone git@***.git
1 | vim ~/.ssh/config |
适用于http协议:
git clone http://***.git
1 | vim ~/.gitconfig |
适用于ssh协议
git clone git@***.git
1 | vim ~/.ssh/config |
略
main
函数开头需要加上下面的代码设置下日志的输出方式
1 | logging::LoggingSettings settings; |
是个move-only
对象
1 | // The type of a callback that: |
执行的时候要加std::move
1 | void MyFunction1(base::OnceCallback<int(std::string, double)> my_callback) { |
There are a number of ways to post tasks to a thread pool or task runner.
PostTask()
PostDelayedTask()
if you want to add a delay.PostTaskAndReply()
lets you post a task which will post a task back to your current thread when its done.PostTaskAndReplyWithResult()
to automatically pass the return value of the first call as argument to the second call.Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
bottom-up-attention代码地址
尝试过直接在conda配置环境,然后代码年代久远,最后还是使用docker才配置成功
docker镜像 docker pull bvlc/caffe
Makefile修改 参考https://www.codeleading.com/article/61395175040/
注:LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
不用添加
报错ImportError: cannot import name '_validate_lengths
运行pip install --upgrade scikit-image
报错ImportError: No module named _tkinter, please install the python-tk package
运行apt-get install the python-tk package
参考链接
1 | class String { |
copy ctor
和copy op=
都是bit by bit拷贝,类中含有指针时会有内存泄露copy op=
返回引用跨模态检索相关文章
GSMN Graph Structured Network for Image-Text Matching
CVPR 2020 code
Saliency-Guided Attention Network for Image-Sentence Matching
ECCV 2019
Graph Structured Network for Image-Text Matching
CVPR 2020
Visual Semantic Reasoning for Image-Text Matching
ICCV 2019
Stacked Cross Attention for Image-Text Matching
ECCV 2018
VSE++: Improving Visual-Semantic Embeddings with Hard Negatives
BMVC 2018
Adaptive Offline Quintuplet Loss for Image-Text Matching
ECCV 2020
摘要 :文章提出了一种新的五元组损失
IMRAM: Iterative Matching with Recurrent Attention Memory for Cross-Modal Image-Text Retrieval
ECCV 2020
摘要 :
Unsupervised Generative Adversarial Cross-Modal Hashing
AAAI 2018
GAN
Creating Something from Nothing: Unsupervised Knowledge Distillation for Cross-Modal Hashing
CVPR 2020
Knowledge Distillation
Deep Cross-Modal Hashing
CVPR 2017
经典的深度哈希文章
1 | int main() { |
a.size()返回一个无符号整型,当a的大小是0时,a.size() - 1返回一个正数,导致访问越界。