Closed Sourish97 closed 4 years ago
I have uploaded some code. Please update and try again.
Same error again with the python command you provided
I have uploaded the config file.
You should find why bert_config.print_status()
fails.
I have the same error
I have the same error
Did you find the solution ?
@Sourish97 @TobiasBrx @musamaalvi Did u guys find anything?
I will take a look
@siddharthrawal121 yes,
what I did is simply I stopped importing BertConfig. Comment the below line in your code
from bert.modeling import BertConfig, BertModel
After this copy all the code from bert.modeling file and paste it into train.py. This resolved the issue for me.
Hi @musamaalvi. I tried it didnt work and when I checked the code there is no method or class in bert.config for print_status. Maybe they removed print_status in later version. Which bert version are you using?
@musamaalvi Nvm , fixed the issue by using the the modelling.py in bert folder of NL2SQL-RULE
it seems export PYTHONPATH=/your/project/root/
I guess.
yes @guotong1988. I solved it
Hello, I tried to clone your repo and run it on my local system. However when I try a normal python train.py or the command mentioned in sqlova repository, I get the following error
python train.py
When I comment out bert_config.print_status(), I get another error as following
Any solution to this?