Open gbernal opened 4 years ago
I got the same problem, too.
I think the pre-trained model which link to google drive is multi classes model
So, the following command would not give you error
python -m edgegan.test --name=edgegan --dataroot=
when I run it with multi classes command, there are not error but the result doesn't appear in test_output folder
I hope @liuq99 give us some help !
Ran into the empty output folder problem too … I found that to run the multiclass model provided you have to provide it with the same directory structure as for training:
EdegGAN
└───data
└───train
| └─── 0
| | └──<file01>.png
| | └── ...
| |
| └─── 1
| | ...
| └───<num of classes>
|
└───test
| └─── 0
| | └──<file01>.png
| | └── ...
| |
| └─── 1
| | ...
| └───<num of classes>
Make sure that there is one directory for each class [0
... 13
] (for a 14 classes model). The directories can be empty if you are only testing one file … make sure to put it into the correct class directory.
Could anyone run the test code following the instructions in the readme file successfully?
I got the same problem, too.
I think the pre-trained model which link to google drive is multi classes model
So, the following command would not give you error python -m edgegan.test --name=edgegan --dataroot= --dataset= --gpu=
when I run it with multi classes command, there are not error but the result doesn't appear in test_output folder
I hope @liuq99 give us some help !
Same with me
Ran into the empty output folder problem too … I found that to run the multiclass model provided you have to provide it with the same directory structure as for training:
EdegGAN └───data └───train | └─── 0 | | └──<file01>.png | | └── ... | | | └─── 1 | | ... | └───<num of classes> | └───test | └─── 0 | | └──<file01>.png | | └── ... | | | └─── 1 | | ... | └───<num of classes>
Make sure that there is one directory for each class [
0
...13
] (for a 14 classes model). The directories can be empty if you are only testing one file … make sure to put it into the correct class directory.
Did you get the output by this method?
Could anyone run the test code following the instructions in the readme file successfully?
Hello, may I ask you to reproduce successfully now, how to deploy the data set?
Ran into the empty output folder problem too … I found that to run the multiclass model provided you have to provide it with the same directory structure as for training:
EdegGAN └───data └───train | └─── 0 | | └──<file01>.png | | └── ... | | | └─── 1 | | ... | └───<num of classes> | └───test | └─── 0 | | └──<file01>.png | | └── ... | | | └─── 1 | | ... | └───<num of classes>
Make sure that there is one directory for each class [
0
...13
] (for a 14 classes model). The directories can be empty if you are only testing one file … make sure to put it into the correct class directory.Did you get the output by this method?
yup you have to make a folder before the test directory , names as class
In which folder should GT be placed?
HI @liuq99 Thank you for sharing your project.
I'm trying to run the test code following the instructions in the readme file
python -m edgegan.test --name=edgegan --dataroot=/home/PycharmProjects/EdgeGAN/data --dataset=bike --nomulticlasses --gpu=0
but I'm getting the following errors.
I'm guessing that it might be related to the data structure. Currently, this is how it is
Thank you and I look forward to your response.