CogLTX icon indicating copy to clipboard operation
CogLTX copied to clipboard

AttributeError: Can't get attribute 'conditional_trans_classification' on <module '__mp_main__' from '~/CogLTX/run_20news.py'>

Open MakiseKuurisu opened this issue 4 years ago • 3 comments

Did anyone met the same problem? Thanks!!

MakiseKuurisu avatar Feb 27 '22 02:02 MakiseKuurisu

I ran into this problem, but I simply deleted the function because config.init_relevance is null and will not be used by the code below

angelOnly avatar Feb 28 '22 07:02 angelOnly

I ran into this problem, but I simply deleted the function because config.init_relevance is null and will not be used by the code below

I followed solutions from https://github.com/Sleepychord/CogLTX/issues/3 and https://github.com/Sleepychord/CogLTX/issues/2, yet it throws another exception

MakiseKuurisu avatar Feb 28 '22 08:02 MakiseKuurisu

When training introspector, specifically outputs = self.roberta( input_ids, attention_mask=attention_mask, token_type_ids=token_type_ids, position_ids=position_ids, head_mask=head_mask, inputs_embeds=inputs_embeds, ) at model.py Line31-Line38, it throws: RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)

MakiseKuurisu avatar Feb 28 '22 12:02 MakiseKuurisu