---
# System prepended metadata

title: YUAN IPS#00720526 iGPU long run Hang

---

# YUAN IPS#00720526 iGPU long run Hang

```
class FD_Detector : public Detector {
public:
    virtual void pppFunc(std::shared_ptr<ov::Model>& model) override {
        cout << __FUNCTION__ << ", enter" << endl;

        model->reshape(ov::PartialShape{ 1, 3, 360, 640 });
        ov::preprocess::PrePostProcessor ppp(model);
```


```
    //2. Inference
    //
    const int Width = 640; //416; model->reshape(ov::PartialShape{ 1, 3, 360, 640 });
    const int Height = 360; //416;
    const cv::Size planarSize(Width, Height);
    const int planarArea = planarSize.area();
    uchar* fd_data = new uchar[Width * Height * 3];
```



![](https://i.imgur.com/CVoU1ja.png)


![](https://i.imgur.com/94zn4PH.png)


```
class FD_Detector : public Detector {
public:
    virtual void pppFunc(std::shared_ptr<ov::Model>& model) override {
        cout << __FUNCTION__ << ", enter" << endl;

        ////model->reshape(ov::PartialShape{ 1, 3, 360, 640 });
        ov::preprocess::PrePostProcessor ppp(model);