![]() Plt.plot(,list(map(lambda x:x/total_cycles, accumulate()))) Uncomment the following lines if you want to see plots as it runs: plt.clf() ![]() It runs for me AFTER I MOVE figure1.ipynb OUT OF examples AND UP TO ROOT.Īre you using the cloned repo to run things with the same directory hierarchy as GitHub - riscv-newop/riscv-newop: A RISC-V new instruction discovery tool ? If so, just move the notebook up so it is in the same directory with the directory embench_hst. Include any information about what to expect if it does run correctly. If the code comes from somewhere else, then point those who could help you at the source as a way to provide them the code. ![]() If your code block was somewhat smaller, I’d encourage you to paste it directly into this forum using what is described in the section ’ Block code formatting’ here. There are other places where you can easily share snippets of code even without registering, such as Pastebin. One thing that would help, even if you end up seeking help in a more general or module-specific location, is if you learn how to share notebooks and code using or Github and then provide the link to that. However, it is hard to tell if it is pertinent to this forum or not because you shared your large code block as an image that cannot be used by anyone who would attempt to test or evaluate your code. My guess is that your issue isn’t a Jupyter question and that if you ran this code as a basic Python script, you’d have the same issues. Please review how to ask for help in the post Getting good answers to your questions.
0 Comments
Leave a Reply. |