Comments (7)
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last):
File "wandb_ssaint_train.py", line 25, in
main(params)
File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main
opt = Adam(model.parameters(), learning_rate)
AttributeError: 'NoneType' object has no attribute 'parameters'
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'
It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
elif model_name == "ssaint":
model = SSAINT(data_config["num_q"], data_config["num_c"], **model_config, emb_type=emb_type, emb_path=data_config["emb_path"]).to(device)
Here is my initialization code, but the problem still occurs.
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
elif model_name == "ssaint": model = SSAINT(data_config["num_q"], data_config["num_c"], **model_config, emb_type=emb_type, emb_path=data_config["emb_path"]).to(device) Here is my initialization code, but the problem still occurs.
How about the print results of model_name (wandb_trian.py line 103) and model (wandb_trian.py line 105) ?
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
elif model_name == "ssaint": model = SSAINT(data_config["num_q"], data_config["num_c"], **model_config, emb_type=emb_type, emb_path=data_config["emb_path"]).to(device) Here is my initialization code, but the problem still occurs.
How about the print results of model_name (wandb_trian.py line 103) and model (wandb_trian.py line 105) ?
model_name:ssaint and model is None
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
elif model_name == "ssaint": model = SSAINT(data_config["num_q"], data_config["num_c"], **model_config, emb_type=emb_type, emb_path=data_config["emb_path"]).to(device) Here is my initialization code, but the problem still occurs.
How about the print results of model_name (wandb_trian.py line 103) and model (wandb_trian.py line 105) ?
model_name:ssaint and model is None
The model init was not run successfully. Is any print statement "The wrong model name was used..." when you run the wandb_ssaint_train.py? If it does, there may be some errors exist in your model definition. You can check wandb_train.py to see whether all the variables are stated when calling init_model function.
from pykt-toolkit.
python wandb_ssaint_train.py --dataset_name=assist2009 --model_name=ssaint --seed=3407 --dropout=0.3 --use_wandb=0 --add_uuid=0
Traceback (most recent call last): File "wandb_ssaint_train.py", line 25, in main(params) File "D:\xxx\xxx\xx\pykt-toolkit\examples\wandb_train.py", line 123, in main opt = Adam(model.parameters(), learning_rate) AttributeError: 'NoneType' object has no attribute 'parameters'It seems like you change the saint into ssaint, have u insert the ssaint into the pykt/init_model.py for defining a new model?
elif model_name == "ssaint": model = SSAINT(data_config["num_q"], data_config["num_c"], **model_config, emb_type=emb_type, emb_path=data_config["emb_path"]).to(device) Here is my initialization code, but the problem still occurs.
How about the print results of model_name (wandb_trian.py line 103) and model (wandb_trian.py line 105) ?
model_name:ssaint and model is None
The model init was not run successfully. Is any print statement "The wrong model name was used..." when you run the wandb_ssaint_train.py? If it does, there may be some errors exist in your model definition. You can check wandb_train.py to see whether all the variables are stated when calling init_model function.
I did encounter the error message "The wrong model name was used..." but I haven't been able to pinpoint the exact cause. Therefore, I attempted to directly copy my model into the saint.py file. After running the command "python wandb_saint_train.py --dataset_name=assist2009 --use_wandb=0 --add_uuid=0 --seed=3407," I noticed that the original SAINT model and the model I copied yield identical AUC and ACC values, with no changes whatsoever.
from pykt-toolkit.
Related Issues (20)
- requirements.txt 补充
- 数据auc是选testauc还是validauc HOT 9
- FileNotFoundError: [Errno 2] No such file or directory: '../data/ednet\\train_valid_sequences.csv' HOT 3
- data_preprocess script does not pass dataset_name to ednet_preprocess' read_data_from_csv HOT 10
- IEKT在数据集Bridge2006跑的时候出现不收敛的情况 HOT 2
- AttributeError: module 'wandb' has no attribute 'apis' HOT 7
- How to get other data sets besides ASSIST?
- Getting user / student level predictions HOT 4
- DKT-F:Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! HOT 5
- About the Epoch HOT 1
- 小白不懂就问:如何进行数据预处理操作
- 关于一题多知识点的数据集 HOT 1
- 关于运行多个模型都出现‘RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! ’的报错
- 关于Hyper parameter tunning results的问题 HOT 2
- The config file is not in the direct directory of save_model, but in the newly generated file under save_model after I trained the model.
- Problem about the number of questions of Algebra2005 dataset
- iekt_ce
- 评估名称含义 HOT 1
- AKT模型中的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykt-toolkit.