Skip to content
Snippets Groups Projects
Commit 5c138837 authored by Jeffrey Wigger's avatar Jeffrey Wigger
Browse files

subsampling fix

parent 0fa9ba10
No related branches found
No related tags found
1 merge request!3FFT Wavelets and more
......@@ -4,9 +4,9 @@ import os
from pathlib import Path
from time import time
import numpy as np
import torch
import torch.fft as fft
import numpy as np
from decentralizepy.sharing.Sharing import Sharing
......
......@@ -4,7 +4,6 @@ import os
from pathlib import Path
import torch
import numpy as np
from decentralizepy.sharing.Sharing import Sharing
......@@ -202,7 +201,7 @@ class SubSampling(Sharing):
m["seed"] = seed
m["alpha"] = alpha
m["params"] = subsample.numpy().astype(np.int32)
m["params"] = subsample.numpy()
# logging.info("Converted dictionary to json")
self.total_data += len(self.communication.encrypt(m["params"]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment