Cloudslab / DLSF

[TMC'20] Deep Learning based Scheduler for Stochastic Fog-Cloud computing environments
GNU General Public License v3.0
104 stars 37 forks source link

where is the contents of "model2"? #1

Closed shengyong1 closed 4 years ago

shengyong1 commented 4 years ago

please quickly answer,thank you.

shreshthtuli commented 4 years ago

Please follow instructions mentioned in the readme. Once you run the code, the pytorch models would be saved in CloudSim/model2 directory.

shengyong1 commented 4 years ago

Please follow instructions mentioned in the readme. Once you run the code, the pytorch models would be saved in CloudSim/model2 directory.

Thank you for your answer! And how do you combine Java files and python files? I can't find the relevant code?

shreshthtuli commented 4 years ago

All java-python communication code can be found here: https://github.com/Cloudslab/DLSF/tree/master/CloudSim/modules/cloudsim-examples/src/main/java/org/cloudbus/cloudsim/examples/power/DeepRL

shengyong1 commented 4 years ago

All java-python communication code can be found here: https://github.com/Cloudslab/DLSF/tree/master/CloudSim/modules/cloudsim-examples/src/main/java/org/cloudbus/cloudsim/examples/power/DeepRL

I have another question,I follow your instructions mentioned in the readme.But some console input is required. What do these consoles need to input? What does setInput backprop and so on in the DeepRL.py file mean? Thank you for your answer

shreshthtuli commented 4 years ago

You dont need to enter anything on the console. All communication is done via the java python binding.

shengyong1 commented 4 years ago

You dont need to enter anything on the console. All communication is done via the java python binding.

I just need to run DeepRL.py? But I run this way without results.

shreshthtuli commented 4 years ago

Just run it on a terminal and run CloudSim. Resutls would be generated in CloudSim/model2/ directory.

shengyong1 commented 4 years ago

只需在终端上运行它并运行CloudSim。结果将在_CloudSim / model2 /_目录中生成。

how to run CloudSim? run DeepRLRunner.java?

shreshthtuli commented 4 years ago

Yes.

shengyong1 commented 4 years ago

Yes. I can't run for result! I run DeepRLRunner.java and DeepRL.py for a result with this: Ran python code : C:\Users\shengyong\Desktop\DLSF-master\Deep-Learning\DeepRL.py Creating VMs... 99% DL Loss = null 0 hr 5 min - 19 Could you please check the code on your GitHub? Are there any gaps?

shengyong1 commented 4 years ago

是。

I'll give it to you DRLDatacenter.java The update dlmodel function break point in the file does not run to this function. Why is there such a result?

shreshthtuli commented 4 years ago

I can not help you on your specific code.