Comments (4)
Could you please share the driver code and the environment you are using as well? (operating system, cloud/single machine, with or w/o Ray) Thanks!
from netshare.
I'm running on a single machine(Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-148-generic x86_64) ) and turn Ray on.
The driver.py
looks:
import netshare.ray as ray
from netshare import Generator
if __name__ == '__main__':
# Change to False if you would not like to use Ray
ray.config.enabled = True
ray.init(address="auto")
# configuration file
generator = Generator(config="pcap/config_example_pcap_nodp_caida.json")
# `work_folder` should not exist o/w an overwrite error will be thrown.
# Please set the `worker_folder` as *absolute path*
# if you are using Ray with multi-machine setup
# since Ray has bugs when dealing with relative paths.
generator.train_and_generate(work_folder='/data1/maoyuning/NetShare-master/results/test_caida')
ray.shutdown()
from netshare.
Thanks. We will take a look and get back to you soon.
from netshare.
Feel free to try the latest refactored PyTorch version which includes the updated examples and reopen this issue if the bug persists.
from netshare.
Related Issues (19)
- ValueError: Variable DoppelGANgerGenerator/attribute_real/layer0/linear/matrix/Adam/ already exists, disallowed. HOT 5
- Difference of iteration count in camera-ready branch and main branch HOT 1
- RuntimeError during pip install HOT 2
- Did you rename the attributes of UGR' 16 and CIDDS dataset ? HOT 1
- Could you upload the synthetic data generated from NetShare trained on the cluster? HOT 1
- importing ray raise a AttributeError on sys.stdout() HOT 3
- Netflow Training and generation ValueError: Pretrain_dir {} does not exist! HOT 5
- Prepostprocessor for a new dataset HOT 1
- The package can only be installed in ediable mode. HOT 1
- TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first. HOT 1
- Reproducibility on TON dataset experiments HOT 1
- Missing "default" config of the pcap example HOT 1
- Configuaration file and driver code for Wikipedia webtraffic dataset HOT 1
- Bug when loading from chunk0 checkpoint HOT 1
- [Documentation Improvement] Missing dependency HOT 1
- Problem with PCAP to CSV conversion in `netshare/pre_post_processors/netshare/main.c` HOT 1
- How to train the model with naive differential privacy? HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: '/data1/maoyuning/NetShare-master/results/test_cidds/generated_data/best_syn_dfs/syn.csv' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netshare.