-
Notifications
You must be signed in to change notification settings - Fork 73
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
How retrain with the best cell in custom dataset? #97
Comments
We have to give path of genotype.npy, network_path.npy and network_path_space.npy as |
@Jayant1234 Thanks a lot. Did you try to do the best search? I am wondering how was the timing? I did set the parameters for epochs same as paper so epoch = 40 and alpha epoch = 20, and when it takes to the alpha epoch stage takes about 37 hours, means for next 20 epoch would take more than 600 hours, however, the paper says 3 GPU day. My images are 2D grayscale medical images and the size of images are 256 * 256. Could you please let me know how was your timing if you have done the search stage? |
I have done the best search. Apart from a minor problem with decoder input size, which I needed to increase by a factor of 2, the code is working perfectly. I took epoch =60 and alpha epoch=20. I managed to search for the best model in less than 36 hours, but my dataset is really small. I used Tesla P100 with 50gb RAM memory. Is it taking you 37 hours to run 1 single alpha epoch? What is your dataset size, image size, gpu and RAM size? Are you using smaller images for the search process i.e 320x320? Try smaller, see if that works. |
My dataset is 595 images. I cannot go smaller than 256 * 256 this. Yes--for each epoch after epoch 20 takes about 36 hours while from epoch one to 19 was very quick, take about 15 minutes for each epoch. I am using Titan V , 12GB memory. One more question, how you save Thank you in advance, |
You have to run the 'decode' file as given below, see Readme's Architecture Search part. It will give all the .npys I just ran on one GPU. There seems to be some problem with your code. Check what's happening in that one epoch. |
@Jayant1234 Thanks a lot. Sure, I am going to check what is happening in that epoch. Thanks again. |
@Jayant1234, I am wondering what does each number mean in the output of cell structure? or how we can print(genotype) instead of decode after search stage? I need to produce something similar to this pic in auto-deeplab paper. Greatly appreciated if you could provide some help. |
@Jayant1234 I am wondering how can I visualise the best cell and best network that it found after search. After decoding, it only prints the number such as ([[ 1, 5], [ 0, 4], [ 2, 4], [ 3, 0], [ 5, 4], [ 7, 4], [11, 7], [12, 4], [17, 4], [18, 2]]. |
I am wondering how can I re-train the best cell and best architecture for my custom dataset?
After
train_autodeeplab.py
that aims to find the best cell and best architecture search results, I used thetrain.py
to re-train the model. I could not see any arg inconfig_utils.re_train_autodeeplab
to feed the new cell and new architecture. However, in theretrain_model.new_model
, I can see two functionget_default_cell
andget_default_arch
.Could you please provide how we should re-train for the custom dataset?
The text was updated successfully, but these errors were encountered: