Closed priyapaul closed 7 years ago
I find that, in the script(prepare_experiment.sh), I see a folder, but cant locate it. May be that is the problem?
domain_adaptation_images
# Prepare lmdb databases for the Office dataset.
echo "[*] Preparing datasets..."
mkdir ./examples/adaptation/datasets
for DOMAIN in amazon webcam dslr; do
python ./examples/adaptation/scripts/convert_data.py \
-s $OFFICE_DIR/domain_adaptation_images/ \
-t ./examples/adaptation/datasets/ \
-d $DOMAIN -i 1 >/dev/null 2>/dev/null
done
So, basically its abou the arguments with which prepare_experiment is called!. So getting back to the 1st questions. Where is the test and train data located?
If possible could you also mention how to do this? like, what and how to run ?
Also, in the convert_data.py, What should be the following changed to?
# Make sure that caffe is on the python path:
caffe_root = '/home/yganin/Arbeit/Projects/NN/skaffe' # this file is expected to be in {caffe_root}/examples
Well, first, my caffe is modified by ICML paper https://github.com/ddtm/caffe. Then, based on this version, I change some layers, adding listener. Second, the demo you run is the one in ICML, not my demo. I didn;t supply any demo file.
To run my demo, first you need to prepare two pieces of data. Say, one is real image, for example, you can download LSP dataset(a real sports images). the other is synthetic data, you can render them by my program.
Then, to train the data, you need to convert the real image and synthetic image into lmdb format. Then you need to set their label, say, synthetic data is 0 and real data is 1.
Next, you can run my program. You should set grl_train, grl_interval and fc_interval in solver.prototxt.
I would recommend you to read my paper to understand the domain adaptation part.
Also, you can write an email to me and I can supply my setting file. my email is chen1474147@gmail.com
Do you want to use my caffe version to do some domain adaptation task?
Not(only) for adaptation, but for human pose estimation. But, good if domain adaptation is included. I would contact you. Thanks for your replies.
Is this repository's caffe version, only a part of the full train-test caffe version for estimating the pose? Because, I expect, the image and 3d Joint positions as the input and ground truth respectively for training. And for testing, if given an image, it would predict the joint positions. It seems that I am mistaken! :(
if you want to use my caffe model(http://irc.cs.sdu.edu.cn/Deep3DPose/model/model.zip), you can use it in a normal caffe version.
If you want to train it by domain adaptation part, you should use my caffe version .
Thank you very much for your time and patience !
Is there any demo file, of how it works for this application, steps from data preparation, model selection? If not, could you please provide one? Where is the data located? How to pass it via arguments
Itried,
But, the folder /5-caffe/examples/adaptation/datasets/ is empty, so it gives me error when training. What could be the reason?
May be because of this, when running train.sh script, i get error
The following is the error,
Thanks in advance.