floft/codats

code

Obsinaan opened this issue · 4 comments

Please,could you suggest how to run your code?
thanks in advance!

oh-yu commented

If you apply this code to another problem, our commits in fork repo branch “feature/ecodataset” might be helpful.
Execution steps are almost the same as the original.

1.local data(.csv) to .tfrecords
python3 -m datasets.preprocess_for_ecodataset --household_id=2
2.visualize data
python3 -m datasets.view_datasets --source=ecodataset_2 --normalize=none --maxexample=2
3.training, evaluation
python3 main.py --logdir=example-logs --modeldir=example-models --method=dann --dataset=ecodataset --sources=1 --target=2 --uid=0 --debugnum=0 --gpumem=0
4.see the logs
tensorboard --logdir ./example-logs

Thanks! Helpful!

from normalization import calc_normalization, calc_normalization_jagged, apply_normalization, apply_normalization_jagged
ModuleNotFoundError: No module named 'normalization'

We couldn't found 'normalization' module?
pls any helps?

oh-yu commented

same execution as below?

pwd 
=> /something/codats

python3 -m datasets.view_datasets ...

May I ask your TensorFlow, TensorFlow_ Addions, TensorFlow_ probability,What version are them?