Git Product home page Git Product logo

few-shot-transformer's Introduction

Usage

First, clone the repository locally:

git clone https://github.com/PengWan-Yang/few-shot-transformer

Then, install PyTorch 1.5+ and torchvision 0.6+:

conda install -c pytorch pytorch torchvision

To train the model on a single node with 8 gpus for 300 epochs run:

python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py

Acknowledgement

We would like to thank the DETR open-source project for its awesome work, part of the code are modified from its project.

few-shot-transformer's People

Contributors

pengwan-yang avatar

Stargazers

 avatar Maria Xenochristou avatar  avatar

Watchers

 avatar

Forkers

donglongzi

few-shot-transformer's Issues

unable to open file: name = './datasets/00025.mat'

Thank you very much for your work, I am running into this problem, where can I download this file(00025.mat) please.
Traceback (most recent call last): File "main.py", line 353, in <module> main(args) File "main.py", line 203, in main roidb = h5py.File(roidb_path) File "/home/huang/anaconda3/envs/hqk_strm/lib/python3.8/site-packages/h5py/_hl/files.py", line 455, in __init__ fid = make_fid(name, mode, userblock_size, File "/home/huang/anaconda3/envs/hqk_strm/lib/python3.8/site-packages/h5py/_hl/files.py", line 199, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5f.pyx", line 100, in h5py.h5f.open FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = './datasets/00025.mat', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.