thuml / Transfer-Learning-Library

Transfer Learning Library for Domain Adaptation, Task Adaptation, and Domain Generalization
http://transfer.thuml.ai
MIT License
3.39k stars 553 forks source link

Help on Trainning with custom dataset #155

Closed Mininggamer closed 2 years ago

Mininggamer commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

thucbx99 commented 2 years ago

In general, you can replace the part about the dataset in the training script with a custom one. Under which task do you want to use the custom dataset?

coder-chica97 commented 2 years ago

@thucbx99 , what shell command do I use for me to run adda on my own dataset? adda.py data/myowndataset ________ Thank you.

coder-chica97 commented 2 years ago

@Mininggamer sorry to bother you! But did you succeed with the custom dataset?

thucbx99 commented 2 years ago

@thucbx99 , what shell command do I use for me to run adda on my own dataset? adda.py data/myowndataset ________ Thank you.

Should be the name of the python class. For example, we define the class Office31 here. The corresponding command is -d Office31.