Giter Site home page Giter Site logo

ddag's People

Contributors

mangye16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddag's Issues

test.py 报错

当我运行:
python test_ddag.py --dataset sysu --mode all --wpa --graph --gpu 0 --resume ’model_path‘

==> Resuming from checkpoint..
==> no checkpoint found at model_path!!!!!!!!!!
==> Loading data..

测试完,准确率就4.几

我想知道_--resume: the saved model path. ** Important _ 怎么设置,比如我已经训练完了,训练的--model_path', default='save_model/' ,那么运行test的命令 --resume 'model_path' 要怎么改

The performance of DDAG on RegDB

This paper reports that DDGA is evaluated under both visible-to-infrared and infrared-to-visible query settings.
I re-implemented the code you published without making any changes. I obtain 31.25% map under visible to infrared setting, which is much more lower than 61.80% map reported in your paper. Under infrared to visible setting, similar results (61.97 vs 63.46) is still found.

Thanks in advances.

Implementating tests with the RegDB dataset seems to have some problems.

When I finished training on the RegDB dataset, I followed the README.md instructions to run this in my terminal:

python test_ddag.py --dataset regdb --trial 1 --wpa --graph --gpu 1 --resume 'regdb_G_P_3_drop_0.2_4_8_lr_0.1_seed_0_trial_1_best.t'

where regdb_G_P_3_drop_0.2_4_8_lr_0.1_seed_0_trial_1_best.t is the model trained by the RegDB dataset.

The error information told me that, query_loader is not defined:

Traceback (most recent call last):
  File "test_ddag.py", line 200, in <module>
    query_feat, query_feat_att = extract_query_feat(query_loader)
NameError: name 'query_loader' is not defined

So, I went through the codes and tryna make some modifications, but the work is more than I expected, as there were dozens of supplements that need to be added directly to the source codes, apart from query_loader. Though I finally managed to run successfully, and the outcomes look reasonable, I am still befuddled by all the extra work I have to get done.

I AM WONDERING if all these modifications are necessary or there actually exists a way to implement tests on RegDB.

when I run your code, the following errors appeared. Can you help me.

Traceback (most recent call last):
File "I:/DDAG-master/train_ddag.py", line 479, in
main()
File "I:/DDAG-master/train_ddag.py", line 442, in main
wG = train(epoch, wG, trainloader)
File "I:/DDAG-master/train_ddag.py", line 284, in train
for batch_idx, (input1, input2, label1, label2) in enumerate(trainloader):
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 279, in iter
return _MultiProcessingDataLoaderIter(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 719, in init
w.start()
File "C:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
OSError: [Errno 22] Invalid argument
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
_pickle.UnpicklingError: pickle data was truncated

Visualization Problem

Hello, Thanks for your great work, I am wondering that whether the code have some visualization function, or where I can find the code to show the result?
I would be appreciate if you can answer my question.

NameError: name 'queryset' is not defined

Excuse me.
When I test on Regdb , there is a NameError that"name 'queryset' is not defined"
How can I solve it? Thank you!!!!

Traceback (most recent call last):
File "test_ddag.py",line 152, in
query_loader = data.DataLoader(queryset, batchsize=args.test_batch, shuffle=False, num_workers=4)
NameError: name 'queryset' is not defined

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.