Simpletransformers: Bug in classification Model

Created on 25 Jul 2020  路  6Comments  路  Source: ThilinaRajapakse/simpletransformers

AttributeError: 'NoneType' object has no attribute 'dataloader_num_workers'

sampler=train_sampler,
286 batch_size=self.args.train_batch_size,
--> 287 num_workers=args.dataloader_num_workers,
288 )

stale

Most helpful comment

Yeah, you guys are right. I'll push a fix soon.

All 6 comments

Me too

Same here. Looks to be a typo at line 287. args.dataloader_num_workers probably should be self.args.dataloader_num_workers. After manually fixing that, everything started working.

Same here. Looks to be a typo at line 287. args.dataloader_num_workers probably should be self.args.dataloader_num_workers. After manually fixing that, everything started working.

Yep even I was thinking the same

Yeah, you guys are right. I'll push a fix soon.

I have same error

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

QAQOAO picture QAQOAO  路  5Comments

Krish-Nerkar picture Krish-Nerkar  路  7Comments

mineshmathew picture mineshmathew  路  9Comments

Sharing-Sam-Work picture Sharing-Sam-Work  路  6Comments

manueltonneau picture manueltonneau  路  4Comments