aayushmnit / Deep_learning_explorations

Codes and experiments while learning and exploring deep learning for personal curiosity by doing online courses, personal projects and work.
MIT License
157 stars 106 forks source link

can you provide the model for 7.Facial Attribute fast ai? #2

Closed siddharth2022 closed 5 years ago

siddharth2022 commented 5 years ago

hello there.. it's great work, can you provide us your pretrained model named "ff_stage-2-rn50" in 7. Facial Attribute fastai?

siddharth2022 commented 5 years ago

where can we download that model?

aayushmnit commented 5 years ago

The code for training the model is provided, you can train the model yourself. Why do you need the learnt model?

siddharth2022 commented 5 years ago

i got some error while training the model. Screenshot (243) data is not prepared, i don't know why is this happening? can you provide the model?

aayushmnit commented 5 years ago

I don't have the saved model. You might need to make modifications in your code to accomodate for new FastAI library changes.

shantanuo commented 5 years ago

Find the line in the file Data_preparation.ipynb located here... Deep_learning_explorations/7_Facial_attributes_fastai_opencv/Data_prepration.ipynb

Change -2 to -2: in this line...

item_df = pd.DataFrame({'image_name':pd.Series(item_list).apply(lambda x: '/'.join(x.split('/')[-2]))})

It may solve your problem. The reason of this error is that you are creating empty dataframes. What is the size of your .csv files like labels.csv? (around 26 MB?)