-
Notifications
You must be signed in to change notification settings - Fork 48
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 while running train.py #2
Comments
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 |
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 |
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?
The text was updated successfully, but these errors were encountered: