-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: run() got an unexpected keyword argument 'visactmap' #1
Comments
This is a weird error and should not happen, did you make sure that your
and not
|
Yes, it's correctly indented. |
I changed im_top_bdnet_train_market1501.yaml file to origin. But I got an error that says |
All this behaviors are weird, are you use you have the las version of the code? The file loading the models is here And I can see that the model is available there, and based on the error log you shared seems to be using an old version of it |
I am trying from first step now. |
I think I know the reason of the error. |
Thank you for helping meso much. |
which command did you run to get that error? this seems to be an issue related with conda and not directly the repo code |
python main.py --config-file configs/im_top_bdnet_train_market1501.yaml --root torchreid\data\datasets\image\market1501 |
error shows this:
do you have a GPU on your machine? if not, during the first steps make sure you don't install cuda, instead of doing this
do this
If you have a GPU, do you have cuda installed? check if you can run |
I unstalled pytorch with cudatoolkit and installed none cuda pytorch. |
This is a problem with the setup of your system, can you doublecheck that you are using python 3 when installing the dependencies and running the command? some systems need to use |
First, I ran the command with python3 ,but when I ran it , it couldn't import torch. |
You may want to run
pip3 should install everything for python3 Check also is which version of python: |
Hi, I'm new to this model. It's very interesting.
But I got an error. I changed like below in im_top_bdnet_train_market1501.yaml.
model:
name: 'resnet50'
pretrained: True
data:
type: 'image'
sources: ['market1501']
targets: ['market1501']
height: 384
width: 128
combineall: False
transforms: ['random_flip', 'random_crop', 'random_erase']
save_dir: 'log/top_bdnet_neck_botdropfeat_doubot_market1501_softmax_topdrop_0'
cuhk03:
labeled_images: True
sampler:
train_sampler: 'RandomIdentitySampler'
loss:
name: 'softmax'
softmax:
label_smooth: True
triplet:
weight_t: 1.0
weight_x: 1.0
dropbatch:
weight_db_t: 1.0
weight_db_x: 1.0
weight_b_db_t: 1.0
weight_b_db_x: 1.0
top_drop_epoch: 0
train:
optim: 'adam'
lr: 1.
max_epoch: 400
batch_size: 64
fixbase_epoch: 0
open_layers: ['bottleneck_global', 'bottleneck_db', 'reduction_global', 'reduction_db','classifier_global', 'classifier_db', 'batch_drop', 'bottleneck_drop_bottleneck_features', 'classifier_drop_bottleneck']
lr_scheduler: 'single_step'
stepsize: [50, 200, 300]
test:
batch_size: 300
dist_metric: 'euclidean'
normalize_feature: False
evaluate: False
eval_freq: 30
rerank: True
visactmap: False
And I put 'python main.py --config-file configs/im_top_bdnet_train_market1501.yaml --root reid-data' in cmd at deep-person-reid.
The text was updated successfully, but these errors were encountered: