adapt
adapt copied to clipboard
Awesome Domain Adaptation Python Toolbox
Currently using a mac M1, I have tensorflow-deps, tensorflow-macos(2.9.0) and tensorflow-metal installed (all working fine), but when I try to "pip install adapt" I have the following conflict: adapt 0.4.1...
This article mentions both adversarial learning and domain adaptation. > Chen, D., Zhou, R., Pan, Y., & Liu, F. (2022). A Simple Baseline for Adversarial Domain Adaptation-based Unsupervised Flood Forecasting....
HI @antoinedemathelin This is my setup to call DANN function Case1 : DANN "model_DANN = adapt.feature_based.DANN(encoder=get_model_encode(), task=get_model_task(), discriminator=get_model_descriminator(), Xt=data_target) #train DANN model_DANN.fit(data_source, epochs=1, batch_size=128)" I am trying to follow the...
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_13888/463825728.py in 12 13 model_FE = FA(X_src, y_src, X_tgt_train, y_tgt_train) ---> 14 FE_scores.append(model_FE.score(X_tgt_test, y_tgt_test)) 15 C = model_FE.estimator_.coef_ 16 src_sumCoef.append( np.sum(np.abs(C[0:X_tgt_test.shape[1]])) ) ~\anaconda3\lib\site-packages\adapt\base.py...
Last batch should be of same length than others. We should use `.repeat` and then `.take` to get same length dataset with same size of batch for all batches. Additionaly,...
Some estimator based methods as FA can easily handle sparse array. Maybe KMM, KLIEP, LDM, NNW if pairwise distances can be computed
LDM, KMM tests fail on windows-latest