Giter VIP home page Giter VIP logo

linevd's Introduction

Hi there 👋

  • 🔭 I’m currently working on software engineering
  • 🌱 I’m currently learning rust
  • 💬 Ask me about anything.
  • 📫 How to reach me: Twitter @davidhin_
  • 😄 Pronouns: he/him
  • ⚡ Fun fact: I figure skate on Instagram @david.hin

linevd's People

Contributors

davidhin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linevd's Issues

Some issue about "prepare.py"

Hi, I meet some problems when I run sastvd/scripts/prepare.py. I downloaded the dataset following "get_data.sh" and unzip MSR_data_cleaned.csv.

train_best.py ERROR!

May I ask if the data in "before" is used at "①", but all the data in "before" is vulnerable, i.e. Vul=1. However, when the part with "Vul=0" is selected in "②", the result is "len (nonvul)=0".
图片1

And the following error occurs, it means the "nonvul" is empty~
屏幕截图 2024-03-14 162705

May I ask if there is a problem with my understanding? Or please tell me how to handle it.🥹

数据集下载失败

FATAL: While performing build: conveyor failed to get: Error initializing source oci:/root/.singularity/cache/blob:5dc11a9036bcb5b7950f4f8a43974057559278fa4bd87513cafd477fef9eb57a: Error reading blob sha256:143f801954310499daa44a8499a49797d2f282b5d56be601557ebe6cbf796907: Error fetching blob: invalid status code from registry 408 (Request Timeout)

有没有数据集的网站我直接下载后上传一下,好几个数据集我下不下来

Error in prepare.py

Hi @davidhin,
I was trying to reproduce your work (without using singularity) but when i tried to execute prepare.py, i got this error:
ValueError: Cannot set a DataFrame with multiple columns to the single column mod_prop
In line 202:
dfv["mod_prop"] = dfv.apply( lambda x: len(x.added + x.removed) / len(x["diff"].splitlines()), axis=1 )
It seems correct and i can't figure out what the error is.
Hope to reply and appreciate your work!

Some problem about running 'getgraphs.py'

Hi @davidhin ,
Thank you for sharing your code!
I was trying to reproduce your work and strictly follow the commands in README.md, but the following error occurred while executing singularity exec main.sif python sastvd/scripts/getgraphs.py. I guess the problem may be caused by some parameters error? I don't known how to solve it.
Hope to reply and appreciate your help!
WEBa93c0641691543540b11d8c5f836a652

WEB2c6b443b5058cbd8cef336976f9568f8

Problems about IVDETECT

Hello, I'm running ivdetect using the code under "linevd-main\sastvd\ivdetect". And the gnnexplainer part reports an error, and here are the code and error:

image

image

The error is no "_FEAT"

And I check the BigVulDatasetIVDetect class in "linevd-main\sastvd\ivdetect\helpers.py",
image
I found that "_FEAT" does not exist in the getitem function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.