[英]ModuleNotFoundError: No module named 'syft.frameworks'
我正在嘗試研究這個聯邦學習的例子。 https://towardsdatascience.com/federated-learning-3097547f8ca3我已經安裝了 PySyft 包,但我收到了這個錯誤。 ...
[英]ModuleNotFoundError: No module named 'syft.frameworks'
我正在嘗試研究這個聯邦學習的例子。 https://towardsdatascience.com/federated-learning-3097547f8ca3我已經安裝了 PySyft 包,但我收到了這個錯誤。 ...
[英]ImportError: DLL load failed while importing lib with importing syft in vscode
我使用 conda 和 python 3.9.7 創建了一個新環境(my_syft env)並安裝了 syft 0.5.0。 然后我檢查我的模塊的安裝,似乎安裝正確通過 然后嘗試在 VScode 中運行並檢查我的模塊並選擇當前環境 C:\\Users\\tamir\\anaconda3\\en ...
[英]AttributeError: type object 'Tensor' has no attribute 'fft'
當我import syft時,出現以下錯誤: 我按照PySyft Doc安裝 syft。 我在 Ubuntu 18.04 和 Google Colab 環境中都嘗試了import syft 。 兩者都有相同的錯誤。 Google Colab 上的完整錯誤信息如下, 有誰知道如何解決這個問題? 謝 ...
[英]AttributeError: module 'syft' has no attribute 'TorchHook'
請向專家尋求幫助:當我在 python 中使用 pysyft 庫時出現此錯誤(AttributeError: module 'syft' has no attribute 'TorchHook') 這是我的代碼截圖 [1]: https://i.stack.imgur.com/rPxWw.png ...
[英]Multiple values for argument
我正在嘗試將此代碼轉換為使用 pysyft 引用傳遞它像這樣: 但是當我嘗試創建 model 的實例時 我有一個類型錯誤 TypeError:參數“torch_ref”的多個值我試圖更改 arguments 的順序,但我收到關於位置 arguments 的錯誤。 你能幫我嗎,我在類和函數方面不是很有 ...
[英]RuntimeError: input.size(-1) must be equal to input_size. Expected 200, got 0 ---- PySyft / PyTorch / Federated Learning
有誰知道這個錯誤的解決方案? 我正在嘗試將我的 PyTorch 網絡切換到聯合學習網絡,但我總是收到此錯誤。 我在 GPU 上使用 Google Colab 火車。 當我打印嵌入的大小時,我得到 0,但我不明白為什么那里不使用數據。 此行中拋出錯誤:lstm_out, (h,t) = self.ls ...
[英]how "data" and "target" are choosen in a federated learning? (PySyft)
我無法理解如何在下面的函數 train() 中選擇變量(數據、目標)。 我猜它們是代表數據集訓練的 2 個隨機圖像的 2 張量,但是損失函數 在與不同目標的每次交互中計算? 我還有一個不同的問題:我用貓的圖像訓練了網絡,然后用汽車的圖像對其進行了測試,達到的准確率為 97%。 這怎么可能? ...
[英]AttributeError: 'WebsocketServerWorker' object has no attribute 'add_dataset'
當我使用 pysyft 做一些聯合學習任務時,出現錯誤: AttributeError: 'WebsocketServerWorker' 對象沒有屬性 'add_dataset' 錯誤: 我不知道如何解決它:( ...
[英]How can I download a pip whl, change the version of dependencies and build a whl file again to install it with pip?
我想通過 pip 在 Jetson TX2 上安裝 PySyft。 不幸的是,我對這里的依賴項和 Jetson TX2 有一個大問題。 例如,我想將依賴項 torch==1.4.0 更改為 torch>=1.4.0 或 torch==1.6.0,因為我無法為 Jetson 安裝另一個 tor ...
[英]Tensor Size Miss match on loss function
1: when attempting to perfrom a pytorch training sequence using batch sizes, my loss function appears to error when the nn output and a batch are pu ...
[英]Could not find a version that satisfies the requirement torch~=1.4.0 (from syft) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
通過 Anaconda 命令安裝syft package 時出現上述錯誤。 我完全按照原樣點擊了以下鏈接, https://medium.com/secure-and-private-ai-writing-challenge/installing-pysyft-package-ffa1ff0ad8 ...
[英]tf_encrypted.player how to config?
在 syft 上使用 keras 訓練 model 聯合學習時,將不同系統上的工作人員作為客戶端工作人員啟動,特定的命令行將在終端上執行。 此命令應在我的客戶工作者之一的系統上執行。執行代碼時 如何在這個系統上准備聯邦學習的配置文件? ...
[英]Pysyft client and server
這個問題是關於我使用 pysyft 庫進行聯合學習的項目,但那些了解 websockets 的人也可以提供幫助,因為 pysyft 使用 websockets 進行服務器和客戶端交互。 首先,我有一個關於服務器和客戶端交互的問題。 我創建了一個儀表板來啟動一個 pysyft 服務器和一個連接到上述 ...
[英]Syft (PySyft) : ModuleNotFoundError 'syft_proto.messaging.v1.protocol_pb2'
我在 google colab 上運行這個簡單的代碼。 我收到了這個錯誤: ModuleNotFoundError:沒有名為“syft_proto.messaging.v1.protocol_pb2”的模塊 有完整的錯誤信息 希望你能幫助我。 謝謝 ...
[英]Pysyft Federated learning, Error with Websockets
我正在嘗試從 pysyft ( https://github.com/OpenMined/PySyft/blob/dev/examples/tutorials/advanced/websockets-example-MNIST-parallel/Asynchronous-federated-lear ...
[英]PureFrameworkTensorFoundError, Runtime error -FedeartedLearning
我正在嘗試使用 Pytorch 進行聯合學習的線性回歸算法,但遇到以下錯誤。 我正在 Colab 上實施它。 據我所知,此錯誤可能是由於 train() 函數中的某些代碼行造成的。 請幫助您與 Pysyft 合作過並且以前遇到過這樣的錯誤。 以下是代碼: ...
[英]pysyft torrch.jit. script RuntimeError: undefined value _Reduction
我試圖從其高級示例中重現 Pysyft Asynchronous-federated-learning-on-MNIST。 其中@torch.jit.script在損失函數之前使用。 我收到此錯誤,不知道這是關於什么的 RuntimeError: undefined value _Reduct ...
[英]ModuleNotFoundError: No module named 'syft' (PySyft)
我使用這個安裝 Pysyft: 然而,當我嘗試導入庫時 它告訴我這個錯誤: ModuleNotFoundError Traceback(最近一次通話最后一次)在 1 import numpy as np ----> 2 from syft.frameworks.torch.differen ...
[英]What does this warning mean in PATE analysis?
進行 PATE 分析時收到警告: 警告:可能沒有使用足夠的 l 值。 增加“時刻”變量並再次運行。 from syft.frameworks.torch.differential_privacy import pate data_dep_eps, data_ind_eps = pate.p ...