Skip to content
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

minute ignored when running ETTm2 using provided code & script #86

Open
efg001 opened this issue Jul 16, 2024 · 0 comments
Open

minute ignored when running ETTm2 using provided code & script #86

efg001 opened this issue Jul 16, 2024 · 0 comments

Comments

@efg001
Copy link

efg001 commented Jul 16, 2024

Run config:

export CUDA_VISIBLE_DEVICES=0

#cd ..

for model in FEDformer
do

for preLen in 96
do



# ETTm2
python -u run.py \
  --is_training 1 \
  --root_path ./dataset/ETT-small/ \
  --data_path ETTm2.csv \
  --task_id ETTm2 \
  --model $model \
  --data ETTm2 \
  --features M \
  --seq_len 96 \
  --label_len 48 \
  --pred_len $preLen \
  --e_layers 2 \
  --d_layers 1 \
  --factor 3 \
  --enc_in 7 \
  --dec_in 7 \
  --c_out 7 \
  --des 'Exp' \
  --d_model 512 \
  --itr 3


done

done


Easiest way to verify it is to add a print statement here:

class DataEmbedding_wo_pos(nn.Module):

class DataEmbedding_wo_pos(nn.Module):
    def __init__(self, c_in, d_model, embed_type='fixed', freq='h', dropout=0.1):
        super(DataEmbedding_wo_pos, self).__init__()
        print("DataEmbedding_wo_pos freq ", freq)

freq in run param is not set in run script(default to h) so there is no dimension mismatch

I could open a PR but I am pretty new to this repo so opening an issue first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant