Skip to content

Not able to generate data.json and segmentation fault while running application #15

@kartik122

Description

@kartik122

I tried using the repo with changes in detectron2 and main.py suggested in issue@
And still getting the following error:

Get mask of cloth

Get openpose coordinate using posenet

Segmentation fault
Generate semantic segmentation using Graphonomy-Master library

Constructing DeepLabv3+ model...
Number of classes: 20
Output stride: 16
Number of Input Channels: 3
load model: ./inference.pth
Segmentation fault

Generate Densepose image using detectron2 library

[05/23 07:54:23 apply_net]: Loading config from detectron2/projects/DensePose/configs/densepose_rcnn_R_50_FPN_s1x.yaml
[05/23 07:54:23 apply_net]: Loading model from https://dl.fbaipublicfiles.com/densepose/densepose_rcnn_R_50_FPN_s1x/165712039/model_final_162be9.pkl
[05/23 07:54:25 apply_net]: Loading data from origin.jpg
Segmentation fault
Traceback (most recent call last):
File "/home/deepk/Desktop/backend/virtual_tryon/TryYours-Virtual-Try-On/get_densepose.py", line 27, in
with open('./data.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './data.json'

Run HR-VITON to generate final image

Start to test! - HR-VITON
Network [SPADEGenerator] was created. Total number of parameters: 100.5 million. To see the architecture, do print(network).
Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions