AllenCellModeling / pytorch_fnet

Three dimensional cross-modal image inference
Other
151 stars 61 forks source link

Issue when running the example #151

Closed SmoliKat closed 4 years ago

SmoliKat commented 4 years ago

Hi, I'm not sure that this error is on your end: I have got this message the last time I have tried to run it:

Copying: 100%|ג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–‰| 393M/393M [00:59<00:00, 10.6MB/s]/home/kathrine/.conda/envs/AllenCellModeling/lib/python3.7/site-packages/quilt3/data_transfer.py:201: UserWarning: Unable to write file metadata to xattrs for destination '/home/kathrine/pytorch_fnet/examples/fovs/34c0a695_3500001454_100X_20171023_2-Scene-02-P22-E06.ome.tiff' - operation not permitted or supported by the OS. Your OS either doesn't support extended file attributes in this directory, or has them disabled.
  f"Unable to write file metadata to xattrs for destination {dest_path!r} - operation "

Copying: 100%|ג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆג–ˆ| 393M/393M [01:00<00:00, 6.45MB/s]usage: fnet [-h] {init,train,predict} ...
fnet: error: unrecognized arguments: --json

fnet train --json /home/kathrine/pytorch_fnet/examples/model/prefs.json --gpu_ids 0

I tried to run it again and got the same error:

usage: fnet [-h] {init,train,predict} ... fnet: error: unrecognized arguments: --json fnet train --json /home/kathrine/pytorch_fnet/examples/model/prefs.json --gpu_ids 0

gregjohnso commented 4 years ago

I reinstalled from the master branch and can't seem to reproduce your error. Can you try pulling from the master branch and make sure everything is up to date?

Greg

SmoliKat commented 4 years ago

Thanks, ill try tomorrow :)

On Fri, Nov 29, 2019, 20:48 Gregory Johnson notifications@github.com wrote:

I reinstalled from the master branch and can't seem to reproduce your error. Can you try pulling from the master branch and make sure everything is up to date?

Greg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AllenCellModeling/pytorch_fnet/issues/151?email_source=notifications&email_token=AC3ECELP7SHW5TIONTVMWJLQWFPYVA5CNFSM4JSXLUK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPNMKQ#issuecomment-559863338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3ECEJSKTASBKEELTLTPQ3QWFPYVANCNFSM4JSXLUKQ .

SmoliKat commented 4 years ago

Hi, I pulled and it said that its already up to date, so I ran it again and got the same error message.

[image: image.png]

usage: fnet [-h] {init,train,predict} ... fnet: error: unrecognized arguments: --json fnet train --json /home/kathrine/pytorch_fnet/examples/model/prefs.json --gpu_ids 0

On Fri, 29 Nov 2019 at 20:48, Gregory Johnson notifications@github.com wrote:

I reinstalled from the master branch and can't seem to reproduce your error. Can you try pulling from the master branch and make sure everything is up to date?

Greg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AllenCellModeling/pytorch_fnet/issues/151?email_source=notifications&email_token=AC3ECELP7SHW5TIONTVMWJLQWFPYVA5CNFSM4JSXLUK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPNMKQ#issuecomment-559863338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3ECEJSKTASBKEELTLTPQ3QWFPYVANCNFSM4JSXLUKQ .

-- Best Regards, Kathrine

gregjohnso commented 4 years ago

Can you try reinstalling with “pip install -e .[dev]” and see what happens?

On Nov 30, 2019, at 8:11 AM, Kathrine Smoliansky notifications@github.com wrote:

Hi, I pulled and it said that its already up to date, so I ran it again and got the same error message.

[image: image.png]

usage: fnet [-h] {init,train,predict} ... fnet: error: unrecognized arguments: --json fnet train --json /home/kathrine/pytorch_fnet/examples/model/prefs.json --gpu_ids 0

On Fri, 29 Nov 2019 at 20:48, Gregory Johnson notifications@github.com wrote:

I reinstalled from the master branch and can't seem to reproduce your error. Can you try pulling from the master branch and make sure everything is up to date?

Greg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AllenCellModeling/pytorch_fnet/issues/151?email_source=notifications&email_token=AC3ECELP7SHW5TIONTVMWJLQWFPYVA5CNFSM4JSXLUK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPNMKQ#issuecomment-559863338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3ECEJSKTASBKEELTLTPQ3QWFPYVANCNFSM4JSXLUKQ .

-- Best Regards, Kathrine

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAllenCellModeling%2Fpytorch_fnet%2Fissues%2F151%3Femail_source%3Dnotifications%26email_token%3DAEEENZ2UYY5JWP2IZGI6KULQWKGCXA5CNFSM4JSXLUK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFQMDCY%23issuecomment-559989131&data=02%7C01%7C%7C687b37c5f7b04c1f26c308d775aff201%7C32669cd6737f4b398bddd6951120d3fc%7C0%7C0%7C637107270866303609&sdata=rWnfie9Tjjhymbuk7B8agTW%2FWpGYy6xRFnw5uoDqAH0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEEENZ7E2ROXS4OB4Z4YPD3QWKGCXANCNFSM4JSXLUKQ&data=02%7C01%7C%7C687b37c5f7b04c1f26c308d775aff201%7C32669cd6737f4b398bddd6951120d3fc%7C0%7C0%7C637107270866313606&sdata=J4FXqt0ahDYszCl0bace3pLkJJs8CRB5ucCOOMQJUnw%3D&reserved=0.

SmoliKat commented 4 years ago

I reinstalled it with “pip install -e .[dev]” as you suggested and it worked.