-
Notifications
You must be signed in to change notification settings - Fork 45
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
Office home dataset #29
Comments
Hi @talhazaidi131313 , are you sure that the labels in your office-home txt files are between 0 and 64? |
Hello, |
@talhazaidi131313 I wonder how can I download officehome dataset? |
Hi @zdhNarsil, |
Hi,
I am trying to run your code to generate the results for the office home dataset, which you referred in table 3. I found out that the dataset txt files present in the code folders are for the office dataset (30classes, 3 domains) instead of the office home dataset (65 classes, 4 domains) which is reported in table 3. So I uploaded the Office home dataset with its generated txt files and loaded in the code. However, while running I am getting the following runtime error:
{
JigenDG-master/train_DA_jigsaw.py in _do_epoch(self)
107 loss = class_loss + jigsaw_loss * self.jig_weight + target_jigsaw_loss * self.target_weight + target_entropy_loss * self.target_entropy
108
--> 109 loss.backward()
RuntimeError: cuda runtime error (710) : device-side assert triggered at /pytorch/aten/src/THC/generic/THCTensorMath.cu:29
}
I used the following initial parameters:
%run train_jigsaw.py --batch_size 128 --n_classes 65 --learning_rate 0.001 --network resnet18 --val_size 0.1 --folder_name test --jigsaw_n_classes 100 --train_all True --TTA False --nesterov False --min_scale 0.8 --max_scale 1.0 --random_horiz_flip 0.5 --jitter 0.4 --tile_random_grayscale 0.1 --source Art Clipart Real_World --target Product --jig_weight 0.7 --bias_whole_image 0.9 --image_size 222
Can you please guide me that, if I am making any mistake while selecting the initial parameters?
thank you
The text was updated successfully, but these errors were encountered: