Skip to content
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

Problem with the DataBlock creation for MLM #85

Open
Dmaturana81 opened this issue Aug 23, 2022 · 4 comments
Open

Problem with the DataBlock creation for MLM #85

Dmaturana81 opened this issue Aug 23, 2022 · 4 comments

Comments

@Dmaturana81
Copy link

I've been trying to do some MLModelling with Blurr and transformers from huggingface.
When I come to the datablock creation I get an Error.

imagen

It is a problem with the DataBlock class from fastai and fastcore delegate decorator.

From what I understood it is delegating the dataloaders creation, but looks like the delegator is waiting an annotation attribute taht doesn't exist.
I am using google colab

@ranjan-sumit
Copy link

Were you able to solve it? I am also getting the same problem.

@Dmaturana81
Copy link
Author

For the moment I gave a dl_type to the DataBlock constructor, SortedDL solved the problem.

@ranjan-sumit
Copy link

Could you please share the sample code? It would be really helpful for me.

@ohmeow
Copy link
Owner

ohmeow commented Sep 1, 2022

Folks, yah ... there is an issue in fastcore that is fixed if you install from github. Waiting for a release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants